* Removed a warning
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 1 May 2001 20:22:10 +0000 (20:22 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 1 May 2001 20:22:10 +0000 (20:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1328 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addressbook.php

index b9fc59b1c1cb70de5aaed15e0ff75ced8ac207a1..8201f4c92431db5c76c515ff0c82d2e7b69d3fb2 100644 (file)
       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;