diff --git a/install-dev/preactivation.php b/install-dev/preactivation.php index 23d976022..5c0a334a9 100644 --- a/install-dev/preactivation.php +++ b/install-dev/preactivation.php @@ -5,9 +5,9 @@ $_GET['language'] = 0; function getPreinstallXmlLang($object, $field) { - if (ToolsCore::property_exists($object, $field.'_'.((int)($_GET['language'])+1))) + if (property_exists($object, $field.'_'.((int)($_GET['language'])+1))) return str_replace(array('!|', '|!'), array('<', '>'), trim($object->{$field.'_'.((int)($_GET['language'])+1)})); - if (ToolsCore::property_exists($object, $field.'_1')) + if (property_exists($object, $field.'_1')) return str_replace(array('!|', '|!'), array('<', '>'), trim($object->{$field.'_1'})); return ''; }