mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean code after yogosha reports
This commit is contained in:
parent
bb06e674ad
commit
fb283fdfe9
|
|
@ -60,7 +60,7 @@ print '<tr class="oddeven"><td width="300">'.$langs->trans("VersionProgram").'</
|
|||
// If current version differs from last upgrade
|
||||
if (!getDolGlobalString('MAIN_VERSION_LAST_UPGRADE')) {
|
||||
// Compare version with last install database version (upgrades never occurred)
|
||||
if (DOL_VERSION != $conf->global->MAIN_VERSION_LAST_INSTALL) {
|
||||
if (DOL_VERSION != getDolGlobalString('MAIN_VERSION_LAST_INSTALL')) {
|
||||
print ' '.img_warning($langs->trans("RunningUpdateProcessMayBeRequired", DOL_VERSION, getDolGlobalString('MAIN_VERSION_LAST_INSTALL')));
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -2149,9 +2149,9 @@ class Setup extends DolibarrApi
|
|||
$i++;
|
||||
$out .= '<tr class="oddeven">';
|
||||
$out .= '<td>'.$i.'</td>'."\n";
|
||||
$out .= '<td>'.$constname.'</td>'."\n";
|
||||
$out .= '<td class="center">'.$constvalue.'</td>'."\n";
|
||||
$out .= '<td class="center">'.$valueforchecksum.'</td>'."\n";
|
||||
$out .= '<td>'.dol_escape_htmltag($constname).'</td>'."\n";
|
||||
$out .= '<td class="center">'.dol_escape_htmltag($constvalue).'</td>'."\n";
|
||||
$out .= '<td class="center">'.dol_escape_htmltag($valueforchecksum).'</td>'."\n";
|
||||
$out .= "</tr>\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ $confirm = GETPOST('confirm', 'alpha');
|
|||
$cancel = GETPOST('cancel', 'alpha');
|
||||
|
||||
$sortfield = GETPOST('sortfield', 'alpha');
|
||||
$sortorder = GETPOST('sortorder', 'alpha');
|
||||
$sortorder = GETPOST('sortorder', 'aZ09');
|
||||
|
||||
$module = GETPOST('module', 'alpha');
|
||||
$tab = GETPOST('tab', 'aZ09');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user