Forgot to rename the old $xtra var to $sJsHeader.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 13:40:28 +0000 (13:40 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 13:40:28 +0000 (13:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9300 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index 6ece0a393a05f0658628c5368bdaea847ad0daa9..6493e63edb1e97312cd9ef85c072060f125d4c55 100644 (file)
@@ -152,7 +152,7 @@ function displayPageHeader($color, $mailbox, $sHeaderJs='', $sBodyTagJs = 'onloa
         $frame_top = '_top';
     }
 
-    if( $javascript_on || strpos($xtra, 'new_js_autodetect_results.value') ) {
+    if( $javascript_on || strpos($sHeaderJs, 'new_js_autodetect_results.value') ) {
         if ($sHeaderJs) {
             $sJsBlock = "\n<script language=\"JavaScript\" type=\"text/javascript\">" .
                         "\n<!--\n" .