Selaa lähdekoodia

smaller fixes

andre 5 vuotta sitten
vanhempi
commit
848abd92d2
1 muutettua tiedostoa jossa 3 lisäystä ja 4 poistoa
  1. 3 4
      zimbraSingle.php

+ 3 - 4
zimbraSingle.php

@@ -518,10 +518,9 @@ function zimbraSingle_CreateAccount($params)
         return "Error: could not verify $account_name";
     }
     if($accountExists === true) {
-            return "Error: account $account_name already exists";
-        } else {
-            return "Error: account $account_name not exists";
-        }
+        return "Error: account $account_name already exists";
+    } else {
+        return "Error: account $account_name not exists";
     }
     $attrs = array();
     $attrs["gn"] = $params['customfields']["givenname"];