mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix duplicate id
This commit is contained in:
@@ -3926,7 +3926,7 @@ function dol_print_error($db = '', $error = '', $errors = null)
|
||||
if (empty($dolibarr_main_prod)) print $out;
|
||||
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.<br><br>This may be due to a maintenance operation. Current status of operation are on next line...<br><br>'."\n";
|
||||
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");
|
||||
print $langs->trans("DolibarrHasDetectedError").'. ';
|
||||
print $langs->trans("YouCanSetOptionDolibarrMainProdToZero");
|
||||
@@ -8419,7 +8419,7 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
|
||||
$attr['class'] .= ' classfortooltip';
|
||||
}
|
||||
|
||||
if (empty($id)) {
|
||||
if (!empty($id)) {
|
||||
$attr['id'] = $id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user