diff --git a/lib/db.php b/lib/db.php index f7c43c2f77..30f41f449f 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 {