瀏覽代碼

Set raw arguments when switching from scripted command to EVAL.

Daniele Alessandri 13 年之前
父節點
當前提交
78360ea27b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis/Client.php

+ 1 - 1
lib/Predis/Client.php

@@ -249,7 +249,7 @@ class Client implements ClientInterface
     {
         if ($command instanceof ScriptedCommand && $response->getErrorType() === 'NOSCRIPT') {
             $eval = $this->createCommand('eval');
-            $eval->setArguments($command->getEvalArguments());
+            $eval->setRawArguments($command->getEvalArguments());
 
             return $this->executeCommand($eval);
         }