Browse Source

add error handling for alias already exist

andre 2 năm trước cách đây
mục cha
commit
ec911861c8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Libs/Zimbra/Components/Api/Soap/Actions/Account.php

+ 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;
 
     }