BP: Applied patch by Abdussammad to config.inc.php which makes it obsolete to reload Manage Styles page after changing number of navbar links.

This commit is contained in:
Matthias Mees 2008-04-14 05:23:23 +00:00
parent 10fcd252be
commit 2419e1dea4

View File

@ -268,7 +268,11 @@ $template_config = array(
)
);
$template_loaded_config = &serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option']);
if (isset($_POST['serendipity']['template'])) {
$template_loaded_config =$_POST['serendipity']['template'];
} else {
$template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option']);
}
$navlinks = array();