Fixed user search issue
authorMarcel Werk <burntime@woltlab.com>
Wed, 14 Oct 2015 11:09:55 +0000 (13:09 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 14 Oct 2015 11:09:55 +0000 (13:09 +0200)
wcfsetup/install/files/lib/form/UserSearchForm.class.php

index a9d79eeef07f01ef4a4eafdb0be7b6f7c9372c56..432b75e25e50775dc80949280bd1d9470fab5b52 100644 (file)
@@ -173,7 +173,7 @@ class UserSearchForm extends UserOptionListForm {
                $this->buildDynamicConditions();
                
                // if no conditions exists, no need to send query
-               if (!count($this->conditions->getParameters())) {
+               if (!$this->conditions->__toString()) {
                        return;
                }