浏览代码

Updated home

north 7 年之前
父节点
当前提交
461e27743a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      www/protected/controllers/HouseKeepingController.php

+ 1 - 1
www/protected/controllers/HouseKeepingController.php

@@ -115,7 +115,7 @@ class HouseKeepingController extends AdminController
         }
         if (!empty($status)) {
             $h->status = $status;
-            if ($status == 4) {
+            if (intval($status) == 4) {
                 if (!empty($cancel_cause)) {
                     $h->cancel_cause = $cancel_cause;
                 }