From 2a92a900e31bfab108c9a0bfd76047542ef5438c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 14 Apr 2013 14:41:19 +0200 Subject: [PATCH] Fixes bugs in UsersMassProcessingForm --- .../files/lib/acp/form/UsersMassProcessingForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php index 5ee0ac4873..1dac8088da 100644 --- a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php @@ -314,7 +314,7 @@ class UsersMassProcessingForm extends UserOptionListForm { ON (option_value.userID = user.userID) ".$this->conditions; $statement = WCF::getDB()->prepareStatement($sql); - $statement->execute(array($this->conditions->getParameters())); + $statement->execute($this->conditions->getParameters()); $users = array(); while ($row = $statement->fetchArray()) { @@ -333,7 +333,7 @@ class UsersMassProcessingForm extends UserOptionListForm { $groupIDs = array(); while ($row = $statement->fetchArray()) { - if (!is_array($groupIDs[$row['userID']])) { + if (!isset($groupIDs[$row['userID']])) { $groupIDs[$row['userID']] = array(); } -- 2.20.1