diff --git a/inc/inc.Language.php b/inc/inc.Language.php index 94344656b..aaec47fad 100644 --- a/inc/inc.Language.php +++ b/inc/inc.Language.php @@ -110,6 +110,6 @@ function getAttributeValidationText($error, $attrname='', $attrvalue='', $regex= } /* }}} */ function getAttributeValidationError($error, $attrname='', $attrvalue='', $regex='') { /* {{{ */ - return $GLOBALS['translator']->getAttributeValidationText($error, $attrname, $attrvalue, $regex); + return $GLOBALS['translator']->getAttributeValidationError($error, $attrname, $attrvalue, $regex); } /* }}} */