fix warning

This commit is contained in:
slawkens 2023-02-07 12:03:18 +01:00
parent f3745a2752
commit 574e361f90

View File

@ -10,7 +10,7 @@
defined('MYAAC') or die('Direct access not allowed!'); defined('MYAAC') or die('Direct access not allowed!');
$title = 'Changelog'; $title = 'Changelog';
$_page = (int)$_GET['page'] ?? 0; $_page = isset($_GET['page']) ? (int)$_GET['page'] : 0;
$limit = 30; $limit = 30;
$offset = $_page * $limit; $offset = $_page * $limit;
$next_page = false; $next_page = false;