Index: branches/5.3.x/core/kernel/db/dblist.php =================================================================== diff -u -N -r15698 -r15902 --- branches/5.3.x/core/kernel/db/dblist.php (.../dblist.php) (revision 15698) +++ branches/5.3.x/core/kernel/db/dblist.php (.../dblist.php) (revision 15902) @@ -1,6 +1,6 @@ Records = $this->Conn->Query($sql); if (!$this->Records && ($this->Page > 1)) { - // no records & page > 1, try to reset to 1st page (works only when list in not counted before) - $this->Application->StoreVar($this->getPrefixSpecial() . '_Page', 1, true); - $this->SetPage(1); - $this->Query($force); + // no records & page > 1, show 404 page + trigger_error('Unknown page ' . $this->Page . ' in ' . $this->getPrefixSpecial() . ' list, leading to "404 Not Found"', E_USER_NOTICE); + + $this->Application->UrlManager->show404(); } $this->SelectedCount = count($this->Records);