diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-03-26 00:21:57 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-03-26 00:21:57 +0100 |
commit | 5e8101639265d220f7b368c106f66a3f25cae386 (patch) | |
tree | 6d7eb4464d70079dedf24c5ec3bd3848eef203fe | |
parent | 07236800a7c676140b487a6bc22146921c9c88a2 (diff) | |
download | nextcloud-server-5e8101639265d220f7b368c106f66a3f25cae386.tar.gz nextcloud-server-5e8101639265d220f7b368c106f66a3f25cae386.zip |
D'oh, why concatenate static strings.
-rw-r--r-- | lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index f7c43c2f77f..30f41f449f6 100644 --- a/lib/db.php +++ b/lib/db.php @@ -640,7 +640,7 @@ class OC_DB { // otherwise all fieldnames used must have a unique key. $query = 'SELECT * FROM "' . $table . '" WHERE '; foreach($input as $key => $value) { - $query .= '"' .$key . '"' . ' = ? AND '; + $query .= '"' . $key . '" = ? AND '; } $query = substr($query, 0, strlen($query) - 5); try { |