2
0
forked from Wavyzz/dolibarr

Fix error message

This commit is contained in:
Laurent Destailleur
2020-11-11 04:55:44 +01:00
parent dada0e16f5
commit 617da2ec5f

View File

@@ -4120,7 +4120,7 @@ function dol_print_error($db = '', $error = '', $errors = null)
} else {
// This should not happen, except if there is a bug somewhere. Enabled and check log in such case.
print 'This website or feature is currently temporarly not available or failed after a technical error.<br><br>This may be due to a maintenance operation. Current status of operation are on next line...<br><br>'."\n";
$langs->load("errors");
$langs->loadLangs(array("main", "errors"));
print $langs->trans("DolibarrHasDetectedError").'. ';
print $langs->trans("YouCanSetOptionDolibarrMainProdToZero");
define("MAIN_CORE_ERROR", 1);