Whenever I try and edit a style on Style Manager I get this error:
Quote:
Warning: Invalid argument supplied for foreach() in ..../admincp/css.php on line 451
|
This is my code for the surrounding area 451:
Quote:
448 - // get style options
449 - $stylevars = array();
450 - $stylevar_info = array();
451 - foreach($template_cache['stylevar'] AS $title => $template)
452 - {
453 - $stylevars["$title"] = $template['template'];
454 - $stylevar_info["$title"] = $template['styleid'];
455 - }
|
Is this a common problem with vb4 and if so does anyone know a fix for it?