@@ -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();