This Plugin generates a warning with vB 4.0.4.
Quote:
Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(394) : eval()'d code
|
The following code lines are responsible.
PHP Code:
foreach ($vbulletin->bf_misc_vbhdistabs AS $tabname => $valor)
{
if ($vbulletin->options['vbhdistabs'] & $valor){
switch($tabname){
case 'vbh_cms':
$vbulletin->templatecache['vbcms_navbar_link'] = str_replace('<li','<li style="display:none"',$vbulletin->templatecache['vbcms_navbar_link']);
break;
break;
case 'vbh_blogs':
$vbulletin->templatecache['blog_navbar_link'] = str_replace('<li','<li style="display:none"',$vbulletin->templatecache['blog_navbar_link']);
break;
case 'vbh_whats_new':
$vbulletin->templatecache['navbar'] = str_replace('><a class="navtab" href="search.php',' style="display:none"><a class="navtab" href="search.php',$vbulletin->templatecache['navbar']);
break;
}
}
}