Przeglądaj źródła

add error handling for alias already exist

andre 2 lat temu
rodzic
commit
ec911861c8

+ 2 - 0
app/Libs/Zimbra/Components/Api/Soap/Actions/Account.php

@@ -171,6 +171,8 @@ class Account extends AbstractAction
         {
             return true;
         }
+
+        $this->setError($result->getLastError());
         return false;
 
     }