Merge pull request #18115 from ATM-Consulting/FIX_14.0_version_checker

FIX: in kanban view, Dolibarr says "no updates available" even if upd…
This commit is contained in:
Laurent Destailleur 2021-07-08 17:34:47 +02:00 committed by GitHub
commit b01468e47a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -919,7 +919,6 @@ if ($mode == 'common' || $mode == 'commonkanban') {
if ($objMod->needUpdate) {
$versionTitle = $langs->trans('ModuleUpdateAvailable').' : '.$objMod->lastVersion;
print '<span class="badge badge-warning classfortooltip" title="'.dol_escape_htmltag($versionTitle).'">'.$versiontrans.'</span>';
$foundoneexternalmodulewithupdate++;
} else {
print $versiontrans;
}
@ -937,6 +936,9 @@ if ($mode == 'common' || $mode == 'commonkanban') {
print "</tr>\n";
}
if ($objMod->needUpdate) {
$foundoneexternalmodulewithupdate++;
}
}
if ($action == 'checklastversion') {