diff --git a/trunk/includes/functions.php b/trunk/includes/functions.php index f499295c..6e5aba97 100644 --- a/trunk/includes/functions.php +++ b/trunk/includes/functions.php @@ -437,7 +437,12 @@ function LSdebugDefined() { $val = $GLOBALS['Smarty']->get_template_vars($msg); if (!$val) $val=$msg; - echo __($val); + if (is_array($val)) { + echo __($val[$key]); + } + else { + echo __($val); + } } } ?>