From: Marcel Werk Date: Tue, 3 Jun 2014 19:08:23 +0000 (+0200) Subject: Small GUI improvement X-Git-Tag: 2.1.0_Alpha_1~755 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c304836d048a8980011df918a4ab594ead918e7;p=GitHub%2FWoltLab%2FWCF.git Small GUI improvement --- diff --git a/wcfsetup/install/files/acp/templates/userSearch.tpl b/wcfsetup/install/files/acp/templates/userSearch.tpl index c39b49108a..e4a8c328be 100644 --- a/wcfsetup/install/files/acp/templates/userSearch.tpl +++ b/wcfsetup/install/files/acp/templates/userSearch.tpl @@ -70,7 +70,7 @@
- +
diff --git a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php index 96d8894a7c..0735156f82 100755 --- a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php @@ -49,7 +49,7 @@ class UserSearchForm extends UserOptionListForm { * user id * @var integer */ - public $userID = 0; + public $userID = null; /** * group ids @@ -198,7 +198,7 @@ class UserSearchForm extends UserOptionListForm { if (isset($_POST['username'])) $this->username = StringUtil::trim($_POST['username']); if (isset($_POST['email'])) $this->email = StringUtil::trim($_POST['email']); - if (isset($_POST['userID'])) $this->userID = intval($_POST['userID']); + if (!empty($_POST['userID'])) $this->userID = intval($_POST['userID']); if (isset($_POST['groupIDs']) && is_array($_POST['groupIDs'])) $this->groupIDs = ArrayUtil::toIntegerArray($_POST['groupIDs']); if (isset($_POST['languageIDs']) && is_array($_POST['languageIDs'])) $this->languageIDs = ArrayUtil::toIntegerArray($_POST['languageIDs']); if (isset($_POST['invertGroupIDs'])) $this->invertGroupIDs = intval($_POST['invertGroupIDs']);