diff --git a/e107_core/shortcodes/single/lan.php b/e107_core/shortcodes/single/lan.php index a174f119b..21d9cc0ae 100644 --- a/e107_core/shortcodes/single/lan.php +++ b/e107_core/shortcodes/single/lan.php @@ -8,4 +8,8 @@ function lan_shortcode($parm = '') { return constant($lan); } + elseif(ADMIN) + { + return "".$parm ." is undefined"; // debug info + } }