mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
update getHistory API
This commit is contained in:
parent
fa92487489
commit
5927f00437
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ class Page
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore history record on same URL stored in DB
|
// 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)
|
if ($url == $result[0]->url)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue