From c56951df43e7a100d2f1ff354988c377ed2df051 Mon Sep 17 00:00:00 2001 From: Moc Date: Fri, 24 May 2013 18:11:14 +0200 Subject: [PATCH] Notice fixes --- e107_handlers/shortcode_handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index a6db81395..5ca553fd7 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -1076,11 +1076,11 @@ class e_parse_shortcode { $other['class'] = $_class; } - if($_function) + if(vartrue($_function)) { $other['function'] = $_function; } - if($_path) + if(vartrue($_path)) { $other['path'] = str_replace('../','',$_path); }