From: Matthias Schmidt Date: Mon, 22 Jun 2015 17:13:03 +0000 (+0200) Subject: Fix AbstractObjectTextPropertyCondition::getData() X-Git-Tag: 3.0.0_Beta_1~2249^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52756711fb1046c3423e400d45a23da54708e0ef;p=GitHub%2FWoltLab%2FWCF.git Fix AbstractObjectTextPropertyCondition::getData() --- diff --git a/wcfsetup/install/files/lib/system/condition/AbstractObjectTextPropertyCondition.class.php b/wcfsetup/install/files/lib/system/condition/AbstractObjectTextPropertyCondition.class.php index a9b8c0e767..d5e1088033 100644 --- a/wcfsetup/install/files/lib/system/condition/AbstractObjectTextPropertyCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/AbstractObjectTextPropertyCondition.class.php @@ -60,7 +60,7 @@ abstract class AbstractObjectTextPropertyCondition extends AbstractTextCondition /** * Returns the name of the relevant database object class. - * + * * @return string */ protected function getClassName() { @@ -77,7 +77,7 @@ abstract class AbstractObjectTextPropertyCondition extends AbstractTextCondition } return [ - $this->fieldName => preg_split('/\s*,\s*/', $value, -1, PREG_SPLIT_NO_EMPTY) + $this->fieldName => preg_split('/\s*,\s*/', $value[$this->fieldName], -1, PREG_SPLIT_NO_EMPTY) ]; }