Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Sein <ivan@struktur.de>2018-09-20 11:29:31 +0300
committerGitHub <noreply@github.com>2018-09-20 11:29:31 +0300
commitf8ac25522192e738199af8ce182f0b79216b9e29 (patch)
treebfecbb4a473c3bac1479b3d0de412c39611a7f7e
parent4a56c70583c3d660e6b80e4da7465c6052bb6799 (diff)
parent53c9abe3f1a4b661d3f4e1ef66a9770bb9a5467a (diff)
Merge pull request #1202 from nextcloud/backport/1112/undefined-index-latest-comment
[stable13] Fix undefined index latest_comment
-rw-r--r--lib/Chat/CommentsManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/CommentsManager.php b/lib/Chat/CommentsManager.php
index 85cb24ab8..1978b6029 100644
--- a/lib/Chat/CommentsManager.php
+++ b/lib/Chat/CommentsManager.php
@@ -174,7 +174,7 @@ class CommentsManager extends Manager {
$result = $query->execute();
while ($row = $result->fetch()) {
- $lastComments[$row['actor_id']] = new \DateTime($row['latest_comment']);
+ $lastComments[$row['actor_id']] = new \DateTime($row['last_comment']);
}
$result->closeCursor();