diff --git a/core/ext/index.ext.php b/core/ext/index.ext.php index c83db9ac..4571abb9 100644 --- a/core/ext/index.ext.php +++ b/core/ext/index.ext.php @@ -9,6 +9,7 @@ class Index extends Extension { if($event->count_args() > 0) { $page_number = int_escape($event->get_arg(0)); + if($page_number == 0) $page_number = 1; // invalid -> 0 } if(isset($_GET['search'])) {