diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-20 09:04:56 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:16 +0200 |
commit | 201bbb962c982ca9aa5d1aed52fef2c587055ea3 (patch) | |
tree | 609dbd3c6a2e4886c0669cbcd87fcb895fdda7c4 /apps/comments/lib/Notification | |
parent | 19b039e6e0d4f3955758e001d62c93aca90424d3 (diff) | |
download | nextcloud-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/Notification')
-rw-r--r-- | apps/comments/lib/Notification/Notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/lib/Notification/Notifier.php b/apps/comments/lib/Notification/Notifier.php index 09092da539c..60dd85f74c5 100644 --- a/apps/comments/lib/Notification/Notifier.php +++ b/apps/comments/lib/Notification/Notifier.php @@ -94,7 +94,7 @@ class Notifier implements INotifier { throw new \InvalidArgumentException('Unsupported comment object'); } $userFolder = $this->rootFolder->getUserFolder($notification->getUser()); - $nodes = $userFolder->getById($parameters[1]); + $nodes = $userFolder->getById((int)$parameters[1]); if(empty($nodes)) { throw new \InvalidArgumentException('Cannot resolve file id to Node instance'); } |