diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-10 09:53:29 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-10 09:53:29 +0200 |
commit | 124f34422c3b488869e0348c97d87aa0a69a3fe9 (patch) | |
tree | 2502586fedff5feab3967d4720eabf15875e617b /lib/public/share.php | |
parent | b237d0379162b52269a6ea8292165d448d075f46 (diff) | |
download | nextcloud-server-124f34422c3b488869e0348c97d87aa0a69a3fe9.tar.gz nextcloud-server-124f34422c3b488869e0348c97d87aa0a69a3fe9.zip |
add missing backticks all over the place
Diffstat (limited to 'lib/public/share.php')
-rw-r--r-- | lib/public/share.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 81f5515bb4b..6a26101a1ce 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -152,11 +152,11 @@ class Share { // Fetch all shares of this file path from DB $query = \OC_DB::prepare( - 'SELECT share_with + 'SELECT `share_with` FROM `*PREFIX*share` WHERE - item_source = ? AND share_type = ?' + `item_source` = ? AND `share_type` = ?' ); $result = $query->execute(array($source, self::SHARE_TYPE_USER)); @@ -171,11 +171,11 @@ class Share { // We also need to take group shares into account $query = \OC_DB::prepare( - 'SELECT share_with + 'SELECT `share_with` FROM `*PREFIX*share` WHERE - item_source = ? AND share_type = ?' + `item_source` = ? AND `share_type` = ?' ); $result = $query->execute(array($source, self::SHARE_TYPE_GROUP)); @@ -192,11 +192,11 @@ class Share { //check for public link shares if (!$publicShare) { $query = \OC_DB::prepare( - 'SELECT share_with + 'SELECT `share_with` FROM `*PREFIX*share` WHERE - item_source = ? AND share_type = ?' + `item_source` = ? AND `share_type` = ?' ); $result = $query->execute(array($source, self::SHARE_TYPE_LINK)); |