From 6adb997fe99af3a7c3407b93c8a7f856068c3002 Mon Sep 17 00:00:00 2001 From: yellowled Date: Mon, 14 Apr 2008 05:23:23 +0000 Subject: [PATCH] BP: Applied patch by Abdussammad to config.inc.php which makes it obsolete to reload Manage Styles page after changing number of navbar links. --- templates/bulletproof/config.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/bulletproof/config.inc.php b/templates/bulletproof/config.inc.php index 2a355cd..b9e7b2b 100644 --- a/templates/bulletproof/config.inc.php +++ b/templates/bulletproof/config.inc.php @@ -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(); -- 2.39.5