summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib/Controller/Notifications.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-20 09:04:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:16 +0200
commit201bbb962c982ca9aa5d1aed52fef2c587055ea3 (patch)
tree609dbd3c6a2e4886c0669cbcd87fcb895fdda7c4 /apps/comments/lib/Controller/Notifications.php
parent19b039e6e0d4f3955758e001d62c93aca90424d3 (diff)
downloadnextcloud-server-201bbb962c982ca9aa5d1aed52fef2c587055ea3.tar.gz
nextcloud-server-201bbb962c982ca9aa5d1aed52fef2c587055ea3.zip
Fix Comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/comments/lib/Controller/Notifications.php')
-rw-r--r--apps/comments/lib/Controller/Notifications.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/lib/Controller/Notifications.php b/apps/comments/lib/Controller/Notifications.php
index c2a8175d17a..9a07e2fbad7 100644
--- a/apps/comments/lib/Controller/Notifications.php
+++ b/apps/comments/lib/Controller/Notifications.php
@@ -96,7 +96,7 @@ class Notifications extends Controller {
if($comment->getObjectType() !== 'files') {
return new NotFoundResponse();
}
- $files = $this->folder->getById($comment->getObjectId());
+ $files = $this->folder->getById((int)$comment->getObjectId());
if(count($files) === 0) {
$this->markProcessed($comment);
return new NotFoundResponse();