Ver Fonte

Merge branch 'wugg' of wugg/phpstock into version1.5

wugg há 3 anos atrás
pai
commit
5809363c70
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/admin/controller/Reorder.php

+ 1 - 1
app/admin/controller/Reorder.php

@@ -383,7 +383,7 @@ class Reorder extends \app\BaseController
                 return error_show(1004,"参数is_th不能为空");
                 return error_show(1004,"参数is_th不能为空");
             }
             }
 
 
-            $return_wsm =isset($this->post['return_wsm'])&&$this->post['return_wsm']!=="" ? intval($this->post['return_wsm']):"";
+            $return_wsm =isset($this->post['return_wsm'])&&$this->post['return_wsm']!=="" ? trim($this->post['return_wsm']):"";
             if($return_wsm===""){
             if($return_wsm===""){
                 return error_show(1004,"参数return_wsm 不能为空");
                 return error_show(1004,"参数return_wsm 不能为空");
             }
             }