@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | foreach ($attributes as $attribute) { |
23 | 23 | if (!in_array($BaseObject->$attribute, $options, true)) { |
24 | - $BaseObject->addError($attribute, $attribute . ' must be element of [' . implode(', ', $options) . ']'); |
|
24 | + $BaseObject->addError($attribute, $attribute.' must be element of ['.implode(', ', $options).']'); |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | } |