summaryrefslogtreecommitdiff
path: root/lib/kolab_api_service.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kolab_api_service.php')
-rw-r--r--lib/kolab_api_service.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index f5c0804..9c55763 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -246,7 +246,7 @@ abstract class kolab_api_service
);
}
else {
- $sql_result = $this->db->query("SELECT * FROM {$object_name}_types ORDER BY name");
+ $sql_result = $this->db->query("SELECT * FROM `{$object_name}_types` ORDER BY `name`");
$object_types = array();
while ($row = $this->db->fetch_assoc($sql_result)) {