From df407c3a035aa8fb211d7191d7a0bb0c64197cc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 5 Oct 2009 22:32:57 +0000 Subject: [PATCH 1/1] else-block removed --- surfbar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/surfbar.php b/surfbar.php index 4318b54590..2da2cea3a2 100644 --- a/surfbar.php +++ b/surfbar.php @@ -164,6 +164,9 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((REQUEST_ISSET_GET('frame')) && (in_array( // Determine template name $templateName = SURFBAR_DETERMINE_TEMPLATE_NAME(); + // Load header in frameset mode is the default + $isFrameset = true; + // Frame "top" set? if ((REQUEST_ISSET_GET('frame')) && (REQUEST_GET('frame') == 'top')) { // Determine next id @@ -193,9 +196,6 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((REQUEST_ISSET_GET('frame')) && (in_array( } elseif ((REQUEST_ISSET_GET('frame')) && (REQUEST_GET('frame') == 'start')) { // Starter frame found so let the footer display REQUEST_UNSET_GET('frame'); - } else { - // Load header in frameset mode - $isFrameset = true; } // Load header -- 2.30.2