From: Fabii547 Date: Sat, 5 Nov 2016 15:38:20 +0000 (+0100) Subject: Fix informal language variant in condition error messages X-Git-Tag: 3.0.0_Beta_5~66^2~6^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df7ab75d37b5711c164a99b1b81fb5b4f0f5c849;p=GitHub%2FWoltLab%2FWCF.git Fix informal language variant in condition error messages --- diff --git a/wcfsetup/install/files/lib/system/condition/AbstractSingleFieldCondition.class.php b/wcfsetup/install/files/lib/system/condition/AbstractSingleFieldCondition.class.php index 39d290db06..0e1f12094f 100644 --- a/wcfsetup/install/files/lib/system/condition/AbstractSingleFieldCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/AbstractSingleFieldCondition.class.php @@ -62,7 +62,7 @@ abstract class AbstractSingleFieldCondition extends AbstractCondition { */ protected function getErrorMessageElement() { if ($this->errorMessage) { - return ''.WCF::getLanguage()->get($this->errorMessage).''; + return ''.WCF::getLanguage()->getDynamicVariable($this->errorMessage).''; } return '';