summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-07 13:24:01 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-07 13:24:01 +0200
commita985f6095fbb8625cb82bebaf07734a4d6116c68 (patch)
tree109a2374027db5c1dea55f62f5473bc939e00801 /lib/kolab_api_controller.php
parent84298e36589360b2cc2d00e42f4cf3f7e10f2508 (diff)
downloadwebadmin-a985f6095fbb8625cb82bebaf07734a4d6116c68.tar.gz
Fix domain selection ([ERROR] domain.info called without a Domain ID)
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index 650fbdf..26f4a58 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -420,7 +420,7 @@ class kolab_api_controller
if (!empty($request['domain']) && is_string($request['domain'])) {
if ($_SESSION['user']->set_domain($request['domain'])) {
$service = $this->get_service('domain');
- $domain = $service->domain_info(array('domain' => $request['domain']), null);
+ $domain = $service->domain_info(array('id' => $request['domain']), null);
return $domain;
}
}