Browse Source

* Removed a warning

Tyler Akins 24 years ago
parent
commit
e39ee073c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/addressbook.php

+ 1 - 1
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;