Browse Source

smaller fixes

andre 5 years ago
parent
commit
9d2896de41
1 changed files with 2 additions and 0 deletions
  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();