فهرست منبع

Do not populate the 'arguments' property if commands received with MONITOR do not carry an argument list.

Daniele Alessandri 14 سال پیش
والد
کامیت
e507198cc3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/Predis/MonitorContext.php

+ 1 - 1
lib/Predis/MonitorContext.php

@@ -76,7 +76,7 @@ class MonitorContext implements \Iterator {
             'timestamp' => (float) $timestamp,
             'database'  => $database,
             'command'   => substr($command, 1, -1),
-            'arguments' => $arguments ?: '',
+            'arguments' => $arguments,
         );
     }
 }