update getHistory API

This commit is contained in:
yggverse 2024-04-14 21:04:01 +03:00
parent fa92487489
commit 5927f00437

View file

@ -373,7 +373,7 @@ class Page
}
// Ignore history record on same URL stored in DB
if ($result = $this->app->database->getHistory(0, 1))
if ($result = $this->app->database->getHistory('', 0, 1))
{
if ($url == $result[0]->url)
{