stanley-king 6 years ago
parent
commit
3db2fb1761
1 changed files with 2 additions and 2 deletions
  1. 2 2
      helper/room/util.php

+ 2 - 2
helper/room/util.php

@@ -200,10 +200,10 @@ class talks_helper
 
     private function talk_params($json)
     {
-        if(empty(trim($json))) return ["rooms" => false,"chatwos" => false];
+        if(empty(trim($json))) return ["rooms" => false,"chatwos" => false,'pushs' => false];
 
         $input = json_decode($json,true);
-        if($input == false) return ["rooms" => false,"chatwos" => false];
+        if($input == false) return ["rooms" => false,"chatwos" => false,'pushs' => false];
 
         $rooms = [];
         $chats = [];