Remove double escape of values in the tracked path of a visitor.

Fixes #137
This commit is contained in:
Fedor A. Fetisov 2016-12-23 14:43:19 +03:00
parent 09ef31e750
commit 0527a9def1

View File

@ -329,13 +329,13 @@ class HistoryController extends AbstractController
$path = track_get_path($visitor);
$page['entry'] = htmlspecialchars($visitor['entry']);
$page['entry'] = $visitor['entry'];
$page['history'] = array();
ksort($path);
foreach ($path as $k => $v) {
$page['history'][] = array(
'date' => date_to_text($k),
'link' => htmlspecialchars($v),
'link' => $v,
);
}