Procházet zdrojové kódy

Bugfix: edit ressource

andre před 2 roky
rodič
revize
e9fe057f56

+ 1 - 1
app/Libs/Zimbra/Components/Api/Soap/Repository/Ressources.php

@@ -31,7 +31,7 @@ class Ressources extends AbstractRepository
         $domain->setName($name);
 
         $result = $this->getClient()->ressource->getAllByDomain($domain);
-        $ressources = $result->getResponseBody()['GETCALENDARRESOURCERESPONSE']['CALRESOURCE'];
+        $ressources = $result->getResponseBody()['GETALLCALENDARRESOURCESRESPONSE']['CALRESOURCE'];
         /**
          * API return one or araay with ressources
          */