stanley-king hace 2 años
padre
commit
282fe5914a
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      helper/task/handler.php

+ 1 - 3
helper/task/handler.php

@@ -358,9 +358,7 @@ class handler
             $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
             $objWriter->save($file_path);
 
-            if($stage > 0) {
-                $percentor($total_stage,$total_stage);
-            }
+            $percentor($total_stage,$total_stage);
 
             return [true, $filename];
         } catch (Exception $e) {