This commit is contained in:
slawkens 2022-06-04 20:45:12 +02:00
parent e2575c3612
commit 3d56214c07

View File

@ -18,8 +18,8 @@ $list = isset($_GET['list']) ? $_GET['list'] : '';
$_page = isset($_GET['page']) ? $_GET['page'] : 0; $_page = isset($_GET['page']) ? $_GET['page'] : 0;
$vocation = isset($_GET['vocation']) ? $_GET['vocation'] : NULL; $vocation = isset($_GET['vocation']) ? $_GET['vocation'] : NULL;
if(!is_numeric($_page) || $_page < 1 || $_page > PHP_INT_MAX) { if(!is_numeric($_page) || $_page < 0 || $_page > PHP_INT_MAX) {
$_page = 1; $_page = 0;
} }
$add_sql = ''; $add_sql = '';