Skip to content

Commit

Permalink
SuiteCRM 7.14.2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jack7anderson7 committed Nov 6, 2023
1 parent f7e7e6c commit 54bc56c
Show file tree
Hide file tree
Showing 29 changed files with 242 additions and 310 deletions.
2 changes: 2 additions & 0 deletions ModuleInstall/ModuleScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@ public function scanFile($file)
}
$contents = file_get_contents($file);
if (!$this->isPHPFile($contents)) {
$issues[] = translate('ML_INVALID_PHP_FILE', 'Administration');
$this->issues['file'][$file] = $issues;
return $issues;
}
$tokens = @token_get_all($contents);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img width="180px" height="41px" src="https://suitecrm.com/wp-content/uploads/2017/12/logo.png" align="right" />
</a>

# SuiteCRM 7.14.1
# SuiteCRM 7.14.2

[![Build Status](https://travis-ci.org/salesagility/SuiteCRM.svg?branch=hotfix)](https://travis-ci.org/salesagility/SuiteCRM)
[![codecov](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix/graph/badge.svg)](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix)
Expand Down
50 changes: 26 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion download.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
$row['file_ext'] = pathinfo((string) $name, PATHINFO_EXTENSION);
}

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

Expand Down
Loading

0 comments on commit 54bc56c

Please sign in to comment.