소스 검색

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

Daniele Alessandri 14 년 전
부모
커밋
9468891faf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -2754,7 +2754,7 @@ class Sort extends Command {
         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'];
         }