mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
fix warning
This commit is contained in:
@@ -7,10 +7,10 @@ loggedinorreturn();
|
||||
if (get_user_class() < UC_UPLOADER)
|
||||
permissiondenied();
|
||||
|
||||
$year=0+$_GET['year'];
|
||||
$year=$_GET['year'] ?? 0;
|
||||
if (!$year || $year < 2000)
|
||||
$year=date('Y');
|
||||
$month=0+$_GET['month'];
|
||||
$month=$_GET['month'] ?? 0;
|
||||
if (!$month || $month<=0 || $month>12)
|
||||
$month=date('m');
|
||||
$order=$_GET['order'];
|
||||
|
||||
Reference in New Issue
Block a user