Explorar el Código

Fix checks on the value for the STORE argument (ISSUE #13).

Daniele Alessandri hace 15 años
padre
commit
006b44e4bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -2803,7 +2803,7 @@ class Sort extends \Predis\MultiBulkCommand {
         if (isset($sortParams['alpha']) && $sortParams['alpha'] == true) {
             $query[] = 'ALPHA';
         }
-        if (isset($sortParams['store']) && $sortParams['store'] == true) {
+        if (isset($sortParams['store'])) {
             $query[] = 'STORE';
             $query[] = $sortParams['store'];
         }