summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-02-17 15:07:54 +0100
committerAleksander Machniak <machniak@kolabsys.com>2012-02-17 15:07:54 +0100
commitbb573fa56d4fa2995071444b714916e49fb25f7d (patch)
tree1269ce01fd085bcb618102a5cbae69fc3ec834bb /lib/api/kolab_api_service_user.php
parent2727724ed788471bc3b43d2227ee153db9e80190 (diff)
downloadwebadmin-bb573fa56d4fa2995071444b714916e49fb25f7d.tar.gz
Fixed parse error
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 142e09f..b8d46a2 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -22,7 +22,7 @@ class kolab_api_service_user extends kolab_api_service
public function user_add($getdata, $postdata)
{
if (!isset($postdata['user_type_id'])) {
- throw new Exception($this->controller::translate('user.notypeid'), 346781);
+ throw new Exception($this->controller->translate('user.notypeid'), 346781);
}
$sql_result = $this->db->query("SELECT attributes FROM user_types WHERE id = ?", $postdata['user_type_id']);