Sfoglia il codice sorgente

add error handling for alias already exist

andre 2 anni fa
parent
commit
ec911861c8

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

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