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:
committed by
Julio Cesar Laura Avendaño
commit
fbfea4ea08
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user