post, but the code didn't mind if nickname wasn't set later. This caused
the whole add code to be skipped if you missed the nickname.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5122
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/**************************************************
* Add new address *
**************************************************/
- if (!empty($addaddr['nickname'])) {
+ if (isset($addaddr)) {
foreach( $addaddr as $k => $adr ) {
$addaddr[$k] = strip_tags( $adr );
}