diff options
author | Ivan Sein <ivan@struktur.de> | 2018-09-20 11:29:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 11:29:31 +0300 |
commit | f8ac25522192e738199af8ce182f0b79216b9e29 (patch) | |
tree | bfecbb4a473c3bac1479b3d0de412c39611a7f7e | |
parent | 4a56c70583c3d660e6b80e4da7465c6052bb6799 (diff) | |
parent | 53c9abe3f1a4b661d3f4e1ef66a9770bb9a5467a (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.php | 2 |
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(); |