diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-15 15:53:48 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-15 15:53:48 +0100 |
commit | 6de0eb0b741ff1cf0b735480a6c2d2fbcb1e70ca (patch) | |
tree | 3f94de87c67d706be564bfd8b1cb56e2f7ed1505 /apps/sharebymail | |
parent | 3714a6aaf0b565808bd1ec7f8552196447402f58 (diff) | |
download | nextcloud-server-6de0eb0b741ff1cf0b735480a6c2d2fbcb1e70ca.tar.gz nextcloud-server-6de0eb0b741ff1cf0b735480a6c2d2fbcb1e70ca.zip |
Remove leading slash from sharing activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index 5342d013ade..1c2f37dc382 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -196,7 +196,7 @@ class Activity implements IProvider { 'type' => 'file', 'id' => $id, 'name' => basename($path), - 'path' => $path, + 'path' => trim($path, '/'), 'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), ]; } |