Selaa lähdekoodia

提交修改i

lvhao 4 viikkoa sitten
vanhempi
commit
f483b61e3d
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      core/CoreApp/controllers/Systemfout.php

+ 2 - 1
core/CoreApp/controllers/Systemfout.php

@@ -144,8 +144,9 @@ class Systemfout extends Start_Controller {
 			$where = "library!=3 and libraryconfirm=2 and print = 3 and (".rtrim($wtype,'or').")";
 			if($timetk && $timetj && $library == 1)
             {
+				$tmp_timetj = time();
 				//$cxtime = 'reviewtime';
-                $where  .= "  and printtime > '$timetk - 180*24*3600' and printtime < '$timetj'";
+                $where  .= "  and printtime > '$timetk - 180*24*3600' and printtime < '$tmp_timetj '";
 				$where  .= " and state != 217";
 				
             }