mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_reader: fix missing quotes, dllink->downloadLink in template
This commit is contained in:
parent
d6026ad0a0
commit
675252897f
2 changed files with 4 additions and 4 deletions
|
@ -135,9 +135,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
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue