From 664428fad61571769e5cd479b07710b3a694bc47 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 1 May 2001 20:22:10 +0000 Subject: [PATCH] * Removed a warning git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1328 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addressbook.php b/src/addressbook.php index b9fc59b1..8201f4c9 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -177,7 +177,7 @@ else if(!empty($editaddr)) { // Stage one: Copy data into form - if(sizeof($sel) > 0) { + if (isset($sel) && sizeof($sel) > 0) { if(sizeof($sel) > 1) { $formerror = _("You can only edit one address at the time"); $showaddrlist = true; -- 2.25.1