Fix error code
This commit is contained in:
parent
35822d9431
commit
9732c3c06a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user