Skip to content

Commit 54bc56c

Browse files
SuiteCRM 7.14.2 Release
1 parent f7e7e6c commit 54bc56c

File tree

29 files changed

+242
-310
lines changed

29 files changed

+242
-310
lines changed

ModuleInstall/ModuleScanner.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,8 @@ public function scanFile($file)
603603
}
604604
$contents = file_get_contents($file);
605605
if (!$this->isPHPFile($contents)) {
606+
$issues[] = translate('ML_INVALID_PHP_FILE', 'Administration');
607+
$this->issues['file'][$file] = $issues;
606608
return $issues;
607609
}
608610
$tokens = @token_get_all($contents);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img width="180px" height="41px" src="https://suitecrm.com/wp-content/uploads/2017/12/logo.png" align="right" />
33
</a>
44

5-
# SuiteCRM 7.14.1
5+
# SuiteCRM 7.14.2
66

77
[![Build Status](https://travis-ci.org/salesagility/SuiteCRM.svg?branch=hotfix)](https://travis-ci.org/salesagility/SuiteCRM)
88
[![codecov](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix/graph/badge.svg)](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix)

composer.lock

Lines changed: 26 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
$row['file_ext'] = pathinfo((string) $name, PATHINFO_EXTENSION);
274274
}
275275

276-
if (in_array($row['file_ext'], $allowedPreview, true)) {
276+
if (!empty($row['file_ext']) && in_array($row['file_ext'], $allowedPreview, true)) {
277277
$showPreview = isset($_REQUEST['preview']) && $_REQUEST['preview'] === 'yes' && $mime_type !== 'text/html';
278278
}
279279

0 commit comments

Comments
 (0)