X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=44c2279e13f922d6c060ddae3894d6b7c26842c5;hb=82d304a0501324b276cabab1870755d5352bd21c;hp=a999a3ecc9f6ebc08ffbc3af02c7cc056e915a49;hpb=8f6f9ba5df6491d396aa690dcf3e5b9070a565ca;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index a999a3ec..44c2279e 100644 --- a/src/options.php +++ b/src/options.php @@ -3,7 +3,7 @@ /** * options.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Displays the options page. Pulls from proper user preference files @@ -350,7 +350,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { $js_optpage_blocks = array(); $reg_optpage_blocks = array(); foreach ($optpage_blocks as $cur_optpage) { - if (!$cur_optpage['js']) { + if (!isset($cur_optpage['js']) || !$cur_optpage['js']) { $reg_optpage_blocks[] = $cur_optpage; } else if ($javascript_on == SMPREF_JS_ON) { $js_optpage_blocks[] = $cur_optpage;