fix array

This commit is contained in:
xiaomlove
2021-01-06 01:31:21 +08:00
parent a968b5855c
commit 9bce2ac1a4
17 changed files with 101 additions and 101 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ loggedinorreturn();
if (get_user_class() < UC_UPLOADER)
permissiondenied();
$year=$_GET['year'] ?? 0;
$year=intval($_GET['year'] ?? 0);
if (!$year || $year < 2000)
$year=date('Y');
$month=$_GET['month'] ?? 0;
$month=intval($_GET['month'] ?? 0);
if (!$month || $month<=0 || $month>12)
$month=date('m');
$order=$_GET['order'];