mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Fix bug in visitor's tracking
This commit is contained in:
parent
0aaed55634
commit
0b32b6a0d6
@ -50,8 +50,8 @@ function track_visitor_start($entry, $referer, $link)
|
||||
db_escape_string($entry),
|
||||
db_escape_string(track_build_details())), $link);
|
||||
|
||||
if ($id) {
|
||||
track_visit_page($id, $referer, $link);
|
||||
if ($SESSION['visitorid']) {
|
||||
track_visit_page($SESSION['visitorid'], $referer, $link);
|
||||
}
|
||||
|
||||
$id = db_insert_id($link);
|
||||
|
Loading…
Reference in New Issue
Block a user