From 9a3355f73378e0b5203b85575f75836b887cf78a Mon Sep 17 00:00:00 2001 From: secretr Date: Mon, 26 Apr 2010 13:16:44 +0000 Subject: [PATCH] Shortcode parser: batch class name fix --- e107_handlers/shortcode_handler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index f2f45bc61..20d5e7f99 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -285,6 +285,10 @@ class e_parse_shortcode $_class_fname = $overrideClass; $_class = 'plugin_'.$pluginName.'_'.$overrideClass; } + elseif($pluginName) + { + $_class = 'plugin_'.$pluginName.'_'.$className; + } $path = ($pluginName ? e_PLUGIN.$pluginName.'/core/shortcodes/batch/' : e_CORE.'shortcodes/batch/').$_class_fname.'.php';