From: Marcel Werk Date: Tue, 3 Jan 2017 12:10:42 +0000 (+0100) Subject: Fixed undefined index exception X-Git-Tag: 3.0.0~73 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b80f2efc085553c8d05ca441adca67577b0e5bc;p=GitHub%2FWoltLab%2FWCF.git Fixed undefined index exception --- diff --git a/wcfsetup/install/files/lib/system/condition/AbstractSelectCondition.class.php b/wcfsetup/install/files/lib/system/condition/AbstractSelectCondition.class.php index d4adf31ef1..f3b59f0198 100644 --- a/wcfsetup/install/files/lib/system/condition/AbstractSelectCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/AbstractSelectCondition.class.php @@ -122,7 +122,7 @@ abstract class AbstractSelectCondition extends AbstractSingleFieldCondition { * @inheritDoc */ public function setData(Condition $condition) { - $this->fieldValue = $condition->conditionData[$this->fieldName]; + $this->fieldValue = (isset($condition->conditionData[$this->fieldName]) ? $condition->conditionData[$this->fieldName] : self::NO_SELECTION_VALUE); } /**