Просмотр исходного кода

add error handling for alias already exist

andre 2 лет назад
Родитель
Сommit
ec911861c8
1 измененных файлов с 2 добавлено и 0 удалено
  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;
 
     }