From 812e328a19ee0adc8378231db9307aea31c5e257 Mon Sep 17 00:00:00 2001 From: kink Date: Wed, 29 Oct 2003 17:22:24 +0000 Subject: [PATCH] Fix a warning. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6046 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.php b/src/options.php index a999a3ec..1bf50510 100644 --- a/src/options.php +++ b/src/options.php @@ -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; -- 2.25.1