diff --git a/e107_handlers/ren_help.php b/e107_handlers/ren_help.php index 5420ffd63..5efeb9a69 100644 --- a/e107_handlers/ren_help.php +++ b/e107_handlers/ren_help.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/ren_help.php,v $ -| $Revision: 1.5 $ -| $Date: 2008-09-18 19:12:44 $ +| $Revision: 1.6 $ +| $Date: 2008-11-08 17:24:28 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -56,11 +56,14 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help } // Load the Plugin bbcode AFTER the templates, so they can modify or replace. - foreach($pref['e_bb_list'] as $val) + if (!empty($pref['e_bb_list'])) { - if(is_readable(e_PLUGIN.$val."/e_bb.php")) + foreach($pref['e_bb_list'] as $val) { - require(e_PLUGIN.$val."/e_bb.php"); + if(is_readable(e_PLUGIN.$val."/e_bb.php")) + { + require(e_PLUGIN.$val."/e_bb.php"); + } } }