diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-25 19:40:06 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-25 19:42:10 +0300 |
commit | 12b3780c7dc229e8f21c23dd750653f228b254ff (patch) | |
tree | 6069d38a4f19c7e794bd7722e278f94512574a86 /lib | |
parent | 91011dee5a0382e4dc7dcc0cf726ab731c4b1011 (diff) |
Properly load file model with correct name on creation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/DocumentController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index a11399d3..b4c4d44c 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -260,7 +260,7 @@ class DocumentController extends Controller { $params = [ 'permissions' => $template->getPermissions(), - 'title' => $template->getName(), + 'title' => $fileName, 'fileId' => $template->getId() . '_' . $this->settings->getSystemValue('instanceid'), 'token' => $token, 'urlsrc' => $urlSrc, |