FIX error with php8
This commit is contained in:
parent
6b8793e171
commit
996dcdde82
@ -416,7 +416,7 @@ if (empty($error) && !empty($xml)) {
|
||||
|
||||
$outexpectedchecksum = ($checksumtoget ? $checksumtoget : $langs->trans("Unknown"));
|
||||
if ($checksumget == $checksumtoget) {
|
||||
if (count($file_list['added'])) {
|
||||
if (is_countable($file_list['added'])) {
|
||||
$resultcode = 'warning';
|
||||
$resultcomment = 'FileIntegrityIsOkButFilesWereAdded';
|
||||
$outcurrentchecksum = $checksumget.' - <span class="'.$resultcode.'">'.$langs->trans($resultcomment).'</span>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user