Prevents warning.
authorStéphane Jacob <sj@m4x.org>
Sun, 19 Dec 2010 21:56:35 +0000 (22:56 +0100)
committerStéphane Jacob <sj@m4x.org>
Sun, 19 Dec 2010 21:57:02 +0000 (22:57 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/userset.inc.php

index 7ffe768..d4be83a 100644 (file)
@@ -54,7 +54,7 @@ class SearchSet extends ProfileSet
 
     public function __construct($quick = false, PlFilterCondition $cond = null)
     {
-        if ($no_search) {
+        if (isset($no_search)) {
             return;
         }