From: kink Date: Mon, 7 Jul 2003 18:55:48 +0000 (+0000) Subject: Make the default element called 0 again in preparation of my next commit X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0f4f003efb4cdeeb7574cd4218c552b38a4e1e71;p=squirrelmail.git Make the default element called 0 again in preparation of my next commit git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5239 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/identity.php b/functions/identity.php index 3cf24538..6cece743 100644 --- a/functions/identity.php +++ b/functions/identity.php @@ -29,7 +29,7 @@ function get_identities() { $num_ids = getPref($data_dir,$username,'identities'); $identities = array(); /* We always have this one, even if the user doesn't use multiple identities */ - $identities['default'] = array('full_name' => getPref($data_dir,$username,'full_name'), + $identities[] = array('full_name' => getPref($data_dir,$username,'full_name'), 'email_address' => getPref($data_dir,$username,'email_address'), 'reply_to' => getPref($data_dir,$username,'reply_to'), 'signature' => getSig($data_dir,$username,'g'), @@ -38,7 +38,7 @@ function get_identities() { /* If there are any others, add them to the array */ if (!empty($num_ids) && $num_ids > 1) { for ($i=1;$i<$num_ids;$i++) { - $identities[$i] = array('full_name' => getPref($data_dir,$username,'full_name' . $i), + $identities[] = array('full_name' => getPref($data_dir,$username,'full_name' . $i), 'email_address' => getPref($data_dir,$username,'email_address' . $i), 'reply_to' => getPref($data_dir,$username,'reply_to' . $i), 'signature' => getSig($data_dir,$username,$i),