From e3a1390b6c58dd36ef1dc444a49dee56011b16fb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Oct 2007 16:45:22 +0000 Subject: [PATCH] "fixed (new multiple) selection preference: array_merge caused a renumbering of the numeric indices, which messed up the prefs" --- preferences/inc/class.uisettings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.uisettings.inc.php b/preferences/inc/class.uisettings.inc.php index cf9e428677..373915e8f5 100755 --- a/preferences/inc/class.uisettings.inc.php +++ b/preferences/inc/class.uisettings.inc.php @@ -532,7 +532,7 @@ $extra = array('**NULL**' => lang('Users choice')); break; } - if ($extra) $values = array_merge($extra,$values); + if ($extra) $values = $extra + $values; $select = $html->select($GLOBALS['type'].'['.$name.']',$default,$values,true); }