diff options
author | jfd <jfd@underverse> | 2012-07-30 20:46:14 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-31 18:53:05 +0200 |
commit | ede464f05872574a703c36d8d976b5c97e55c23f (patch) | |
tree | c075f46d52b905a93cb5d3137af5198de83d34f2 /lib/vcategories.php | |
parent | 3c5670b662ea9e5ee36146f10f63faaadacb8187 (diff) | |
download | nextcloud-server-ede464f05872574a703c36d8d976b5c97e55c23f.tar.gz nextcloud-server-ede464f05872574a703c36d8d976b5c97e55c23f.zip |
escape all identifiers with backticks
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r-- | lib/vcategories.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php index ee7a1d2883a..724965d0e95 100644 --- a/lib/vcategories.php +++ b/lib/vcategories.php @@ -118,7 +118,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)) { |