Explorar el Código

smaller fixes

andre hace 5 años
padre
commit
9d2896de41
Se han modificado 1 ficheros con 2 adiciones y 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();