sugar1569 7 anni fa
parent
commit
3e950269ef

+ 1 - 1
application/admin/controller/system/SystemDatabackup.php

@@ -119,7 +119,7 @@ class SystemDatabackup extends AuthController
     public function import(Request $request = null)
     {
         $part = $request->post('part')?:null;
-        $start = $request->post('start')==0?0:null;
+        $start = $request->post('start') === '0' ? 0 : null;
         $time = strtotime($request->post('time'));
         $db = $this->DB;
         if(is_numeric($time) && is_null($part) && is_null($start)){