diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-06-10 05:15:07 -0700 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-06-10 05:15:07 -0700 |
commit | 1da112750e1c32ab50980434fea56c5d32723b6f (patch) | |
tree | c8e79b0f205ea9c0bb916d9fda3a05fde6ff24ef /apps | |
parent | d264d0a79dd4433771da35f402d119de192a9a80 (diff) | |
parent | 124f34422c3b488869e0348c97d87aa0a69a3fe9 (diff) | |
download | nextcloud-server-1da112750e1c32ab50980434fea56c5d32723b6f.tar.gz nextcloud-server-1da112750e1c32ab50980434fea56c5d32723b6f.zip |
Merge pull request #3647 from owncloud/missing_backticks
add missing backticks all over the place
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/util.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index 04bd4dc8aca..a6711880c20 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -289,7 +289,7 @@ class Util { */ public function recoveryEnabledForUser() { - $sql = 'SELECT `recovery_enabled` FROM `*PREFIX*encryption` WHERE uid = ?'; + $sql = 'SELECT `recovery_enabled` FROM `*PREFIX*encryption` WHERE `uid` = ?'; $args = array($this->userId); @@ -347,7 +347,7 @@ class Util { // Create a new record instead } else { - $sql = 'UPDATE `*PREFIX*encryption` SET recovery_enabled = ? WHERE uid = ?'; + $sql = 'UPDATE `*PREFIX*encryption` SET `recovery_enabled` = ? WHERE `uid` = ?'; $args = array( $enabled, @@ -1060,7 +1060,7 @@ class Util { */ public function setMigrationStatus($status) { - $sql = 'UPDATE `*PREFIX*encryption` SET migration_status = ? WHERE uid = ?'; + $sql = 'UPDATE `*PREFIX*encryption` SET `migration_status` = ? WHERE `uid` = ?'; $args = array( $status, @@ -1089,7 +1089,7 @@ class Util { */ public function getMigrationStatus() { - $sql = 'SELECT `migration_status` FROM `*PREFIX*encryption` WHERE uid = ?'; + $sql = 'SELECT `migration_status` FROM `*PREFIX*encryption` WHERE `uid` = ?'; $args = array($this->userId); |