Browse Source

Updated home

north 7 years ago
parent
commit
461e27743a
1 changed files with 1 additions and 1 deletions
  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)) {
         if (!empty($status)) {
             $h->status = $status;
             $h->status = $status;
-            if ($status == 4) {
+            if (intval($status) == 4) {
                 if (!empty($cancel_cause)) {
                 if (!empty($cancel_cause)) {
                     $h->cancel_cause = $cancel_cause;
                     $h->cancel_cause = $cancel_cause;
                 }
                 }