diff --git a/htdocs/admin/system/filecheck.php b/htdocs/admin/system/filecheck.php index bccdf608e5e..320f032fb19 100644 --- a/htdocs/admin/system/filecheck.php +++ b/htdocs/admin/system/filecheck.php @@ -60,7 +60,7 @@ print ''.$langs->trans("VersionProgram").'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 { diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index c9e22063bff..97c1cb02c57 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -2149,9 +2149,9 @@ class Setup extends DolibarrApi $i++; $out .= ''; $out .= ''.$i.''."\n"; - $out .= ''.$constname.''."\n"; - $out .= ''.$constvalue.''."\n"; - $out .= ''.$valueforchecksum.''."\n"; + $out .= ''.dol_escape_htmltag($constname).''."\n"; + $out .= ''.dol_escape_htmltag($constvalue).''."\n"; + $out .= ''.dol_escape_htmltag($valueforchecksum).''."\n"; $out .= "\n"; } diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index b959001a33f..aa0d49399a4 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -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');