Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/db/dblist.php
Context not available. | |||||
$this->SetPage(1); | $this->SetPage(1); | ||||
$this->Query($force); | $this->Query($force); | ||||
} | } | ||||
else if ( $this->Application->HttpQuery->refererIsOurSite() ) { | |||||
// no records & page > 1, try to reset to last page | |||||
$this->SetPage($this->GetTotalPages()); | |||||
$this->Query($force); | |||||
} | |||||
else { | else { | ||||
// no records & page > 1, show 404 page | // no records & page > 1, show 404 page | ||||
trigger_error('Unknown page <strong>' . $this->Page . '</strong> in <strong>' . $this->getPrefixSpecial() . '</strong> list, leading to "404 Not Found"', E_USER_NOTICE); | trigger_error('Unknown page <strong>' . $this->Page . '</strong> in <strong>' . $this->getPrefixSpecial() . '</strong> list, leading to "404 Not Found"', E_USER_NOTICE); | ||||
Context not available. |