fix warning

This commit is contained in:
xiaomlove
2020-12-29 21:49:37 +08:00
parent d190ca6f67
commit 398cf8607a
55 changed files with 223 additions and 214 deletions

View File

@@ -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'];