From dd294e71fa043874aec0acfceef970e47fc962b1 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 9 Apr 2016 10:58:03 -0700 Subject: [PATCH] Added error message for ADMINs if a LAN is missing. --- e107_core/shortcodes/single/lan.php | 4 ++++ 1 file changed, 4 insertions(+) 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 + } }