else-block removed
[mailer.git] / surfbar.php
index 380de444c1a9be2113e27541ff97bbf0c018ebd3..2da2cea3a24d336961e972f62e249739ed61c2d0 100644 (file)
@@ -47,7 +47,6 @@ $GLOBALS['module'] = 'surfbar';
 $GLOBALS['refid']  = 0;
 $GLOBALS['output_mode'] = 0;
 $GLOBALS['header_sent'] = 3;
-$msg = null;
 
 // Load the required file(s)
 require('inc/config-global.php');
@@ -165,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
@@ -194,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