mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 00:24:12 +03:00
Fix possible type mismatch in track_visit_page func
This commit is contained in:
parent
fe951ad050
commit
20da5d2f36
@ -145,6 +145,9 @@ function track_visit_page($visitor_id, $page)
|
||||
array($visitor_id),
|
||||
array('return_rows' => Database::RETURN_ONE_ROW)
|
||||
);
|
||||
if (is_bool($last_page)) {
|
||||
return;
|
||||
}
|
||||
if ($last_page['address'] != $page) {
|
||||
$db->query(
|
||||
("INSERT INTO {visitedpage} ("
|
||||
|
Loading…
Reference in New Issue
Block a user