summaryrefslogtreecommitdiffstats
path: root/lib/private/DB
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-03-29 15:04:11 +0200
committerRobin Appelman <robin@icewind.nl>2017-03-30 12:48:24 +0200
commit429f8ae0114350e9b0c0ff9fd57c9ebccaa6e7a8 (patch)
tree7d8c2e624e8840a26d04cfa75125eb039e7be5fd /lib/private/DB
parent1ee7e1c0b128b16c3327ca6aa90335ce12fd678f (diff)
downloadnextcloud-server-429f8ae0114350e9b0c0ff9fd57c9ebccaa6e7a8.tar.gz
nextcloud-server-429f8ae0114350e9b0c0ff9fd57c9ebccaa6e7a8.zip
Allow getting the unread comment count for an entire folder at once
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/DB')
-rw-r--r--lib/private/DB/QueryBuilder/QuoteHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/QueryBuilder/QuoteHelper.php b/lib/private/DB/QueryBuilder/QuoteHelper.php
index 041718bce5a..705c3a89712 100644
--- a/lib/private/DB/QueryBuilder/QuoteHelper.php
+++ b/lib/private/DB/QueryBuilder/QuoteHelper.php
@@ -73,7 +73,7 @@ class QuoteHelper {
return $string;
}
- return $alias . '.`' . $columnName . '`';
+ return '`' . $alias . '`.`' . $columnName . '`';
}
return '`' . $string . '`';