andre 5 лет назад
Родитель
Сommit
b329bbdb61
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      api/Zm/Account.php
  2. 1 1
      zimbraSingle.php

+ 2 - 2
api/Zm/Account.php

@@ -257,10 +257,10 @@ class Zm_Account
 		catch (SoapFault $exception)
 		{
 			$result = $exception;
-			return false;
+			return 'blubb';
 		}
 
-		return true;
+		return 'bla';
 	}
 
 	/**

+ 1 - 1
zimbraSingle.php

@@ -516,7 +516,7 @@ function zimbraSingle_CreateAccount($params)
         );
         return false;
     }
-    if($accountExists === true) {
+    if($accountExists == 'bla') {
         return 'Account already exist';
     }
     $attrs = array();