rabin 3 gadi atpakaļ
vecāks
revīzija
ccf7c03e64
1 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. 8 4
      service/mail/database/area_stat.php

+ 8 - 4
service/mail/database/area_stat.php

@@ -19,11 +19,15 @@ $type = array
     3 => '街道',
 );
 
-$desc = '';
-$month = Dever::input('search_option_month', date('Y-m'));
-if ($month) {
-    Dever::setInput('search_option_month', $month);
+$table = Dever::input('table');
+if ($table == 'area_stat') {
+    $month = Dever::input('search_option_month', date('Y-m'));
+    if ($month) {
+        Dever::setInput('search_option_month', $month);
+    }
 }
+$desc = '';
+
 
 $button = array();