Explorar o código

smaller fixes

andre %!s(int64=5) %!d(string=hai) anos
pai
achega
9d2896de41
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();