zgg 11 месяцев назад
Родитель
Сommit
86749c7e54
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/screen/Waste.php

+ 1 - 1
application/api/controller/screen/Waste.php

@@ -175,7 +175,7 @@ class Waste extends Index
         if($month !=''){
             if($month > 0 && $month < 10){
                 $date = date('Y').'0'.$month;
-            }elseif ($month >10){
+            }elseif ($month >=10){
                 $date = date('Y').$month;
             }
         }else{