From 4986e4400fdd5c1641f930f34922b2191f554c38 Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 23 Mar 2004 18:00:38 +0000 Subject: [PATCH] doc/plugin.txt says that 'refresh' is optional. Making sure that it does not generate warnings. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6853 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/options.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/options.php b/functions/options.php index 37c6dda6..c72aea48 100644 --- a/functions/options.php +++ b/functions/options.php @@ -409,7 +409,7 @@ function create_option_groups($optgrps, $optvals) { $optset['name'], $optset['caption'], $optset['type'], - $optset['refresh'], + (isset($optset['refresh']) ? $optset['refresh'] : SMOPT_REFRESH_NONE), (isset($optset['initial_value']) ? $optset['initial_value'] : ''), $optset['posvals'] ); @@ -419,7 +419,7 @@ function create_option_groups($optgrps, $optvals) { $optset['name'], $optset['caption'], $optset['type'], - $optset['refresh'], + (isset($optset['refresh']) ? $optset['refresh'] : SMOPT_REFRESH_NONE), (isset($optset['initial_value']) ? $optset['initial_value'] : '') ); } -- 2.25.1