Fixed issue in informal language variant
authorMarcel Werk <burntime@woltlab.com>
Tue, 27 Sep 2016 09:40:47 +0000 (11:40 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 27 Sep 2016 11:23:20 +0000 (13:23 +0200)
wcfsetup/install/files/lib/system/condition/AbstractSingleFieldCondition.class.php

index 03abeeec5783124e0dfeb32fc9e1704644544636..39d290db064990e3247e392c64f3005845160af2 100644 (file)
@@ -36,7 +36,7 @@ abstract class AbstractSingleFieldCondition extends AbstractCondition {
         */
        protected function getDescriptionElement() {
                if ($this->description) {
-                       return '<small>'.WCF::getLanguage()->get($this->description).'</small>';
+                       return '<small>'.WCF::getLanguage()->getDynamicVariable($this->description).'</small>';
                }
                
                return '';