From 52756711fb1046c3423e400d45a23da54708e0ef Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 22 Jun 2015 19:13:03 +0200 Subject: [PATCH] Fix AbstractObjectTextPropertyCondition::getData() --- .../condition/AbstractObjectTextPropertyCondition.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ]; } -- 2.20.1