summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-03-26 00:21:57 +0100
committerThomas Tanghus <thomas@tanghus.net>2013-03-26 00:21:57 +0100
commit5e8101639265d220f7b368c106f66a3f25cae386 (patch)
tree6d7eb4464d70079dedf24c5ec3bd3848eef203fe
parent07236800a7c676140b487a6bc22146921c9c88a2 (diff)
downloadnextcloud-server-5e8101639265d220f7b368c106f66a3f25cae386.tar.gz
nextcloud-server-5e8101639265d220f7b368c106f66a3f25cae386.zip
D'oh, why concatenate static strings.
-rw-r--r--lib/db.php2
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 {