summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r--lib/vcategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index d15b7b166ea..20d9e3b5d61 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -121,7 +121,7 @@ class OC_VCategories {
* To get the object array, do something like:
* // For Addressbook:
* $categories = new OC_VCategories('contacts');
- * $stmt = OC_DB::prepare( 'SELECT carddata FROM *PREFIX*contacts_cards' );
+ * $stmt = OC_DB::prepare( 'SELECT `carddata` FROM `*PREFIX*contacts_cards`' );
* $result = $stmt->execute();
* $objects = array();
* if(!is_null($result)) {