From: yellowled Date: Mon, 14 Apr 2008 05:23:23 +0000 (+0000) Subject: BP: Applied patch by Abdussammad to config.inc.php which makes it obsolete to reload... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6adb997fe99af3a7c3407b93c8a7f856068c3002;p=s9y.git BP: Applied patch by Abdussammad to config.inc.php which makes it obsolete to reload Manage Styles page after changing number of navbar links. --- 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();