vali 6 years ago
parent
commit
c6231c3ef8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 2 - 2
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -815,9 +815,9 @@ class Events
             if (!$hisSession) {
                 $conversationId = self::$db->insert('ws_service_log')->cols($serviceLog)->query();
             } else {
-                self::$db->update('ws_service_log')->cols(['status' => 1])->where('id=' . $hisSession['id'])->query();
+                self::$db->update('ws_service_log')->cols(['status' => 1])->where('servicelog_id=' . $hisSession['servicelog_id'])->query();
+                $conversationId =  $hisSession['servicelog_id'];
             }
-
             unset($serviceLog);