1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

files_reader: add some missing quotes, dllink -> downloadLink in template

This commit is contained in:
frankdelange 2017-03-19 21:14:58 +01:00
parent ed0d8ae717
commit 0340300ba0
3 changed files with 4 additions and 4 deletions

View file

@ -136,9 +136,9 @@ class PageController extends Controller {
}
return [
fileName => pathInfo($filePath, PATHINFO_FILENAME),
fileType => strtolower(pathInfo($filePath, PATHINFO_EXTENSION)),
fileId => $fileId
'fileName' => pathInfo($filePath, PATHINFO_FILENAME),
'fileType' => strtolower(pathInfo($filePath, PATHINFO_EXTENSION)),
'fileId' => $fileId
];
}

View file

@ -12,7 +12,7 @@
$preferences = $_['preferences'];
$metadata = $_['metadata'];
$annotations = $_['annotations'];
$title = htmlentities(basename($dllink));
$title = htmlentities(basename($downloadLink));
$revision = '0071';
$version = \OCP\App::getAppVersion('files_reader') . '.' . $revision;

Binary file not shown.