Merged in bugfix/PMC-557 (pull request #6802)

PMC-557

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Fabio Guachalla
2019-03-08 22:01:12 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 16 additions and 16 deletions

View File

@@ -78,7 +78,7 @@ if (defined('DISABLE_DOWNLOAD_DOCUMENTS_SESSION_VALIDATION') && DISABLE_DOWNLOAD
}
$info = pathinfo($oAppDocument->getAppDocFilename());
$info = pathinfo(G::inflect($oAppDocument->getAppDocFilename()));
if (!isset($_GET['ext'])) {
$ext = $info['extension'];
} else {