Fix error code

This commit is contained in:
Laurent Destailleur 2022-08-14 15:25:06 +02:00
parent 35822d9431
commit 9732c3c06a
2 changed files with 6 additions and 4 deletions

View File

@ -272,9 +272,10 @@ if (is_array($results)) {
if ($action != 'dosubmit') {
if ($found && !$error) { // We are in a management option and no error
if ($found && !$error) {
// We are in a management option and no error
} else {
dol_print_error_email('ERRORNEWONLINESIGN');
dol_print_error_email('ERRORSUBMITAPPLICATION');
}
} else {
// Print

View File

@ -323,9 +323,10 @@ print "\n";
if ($action != 'dosubmit') {
if ($found && !$error) { // We are in a management option and no error
if ($found && !$error) {
// We are in a management option and no error
} else {
dol_print_error_email('ERRORNEWONLINESIGN');
dol_print_error_email('ERRORSUBMITAPPLICATION');
}
} else {
// Print