From: Jean-Marc Licht Date: Thu, 21 Jul 2011 13:55:49 +0000 (-0700) Subject: fix HP error in file wcf/lib/acp/form/UsersMassProcessingForm.class.php (398): Argume... X-Git-Tag: 2.0.0_Beta_1~1963 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=301bfbd279df07f278818bf0a8b4315dd3ed0a1e;p=GitHub%2FWoltLab%2FWCF.git fix HP error in file wcf/lib/acp/form/UsersMassProcessingForm.class.php (398): Argument 1 passed to wcf\acp\form\UsersMassProcessingForm::checkOption() must be an instance of wcf\acp\form\Option, instance of wcf\data\option\Option given, called in wcf/lib/acp/form/AbstractOptionListForm.class.php on line 203 and defined --- diff --git a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php old mode 100755 new mode 100644 index 9268d8ec7e..40f582bff0 --- a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php @@ -3,6 +3,7 @@ namespace wcf\acp\form; use wcf\system\menu\acp\ACPMenu; use wcf\data\user\UserEditor; use wcf\data\user\group\UserGroup; +use wcf\data\option\Option; use wcf\form\AbstractForm; use wcf\system\WCF; use wcf\system\WCFACP; @@ -62,6 +63,13 @@ class UsersMassProcessingForm extends UserOptionListForm { * @var wcf\system\database\condition\PreparedStatementConditionBuilder */ public $conditions = null; + + /** + * Options of the active category. + * + * @var array + */ + public $activeOptions = array(); /** * @see wcf\form\IForm::readFormParameters()