Selaa lähdekoodia

smaller fixes

andre 5 vuotta sitten
vanhempi
commit
9d2896de41
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      zimbraSingle.php

+ 2 - 0
zimbraSingle.php

@@ -507,6 +507,8 @@ function zimbraSingle_CreateAccount($params)
         $apiAccountManager = new Zm_Account($api);
         if( $apiAccountManager->accountExists($account_name)) {
             return "Error: account $account_name already exists";
+        } else {
+            return "Error: account $account_name not exists";
         }
     }
     $attrs = array();