Skip to content

Commit

Permalink
FIX missing show errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Oct 14, 2024
1 parent 941972f commit 763935c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htdocs/societe/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,12 @@
setEventMessages('RecordDeleted', null, 'mesgs');
header("Location: ".$_SERVER['PHP_SELF']."?id=".$socid);
exit();
} else {
setEventMessages($contact->error, $contact->errors, 'errors');
}
}
} else {
setEventMessages($contact->error, $contact->errors, 'errors');
}
}
}
Expand Down

0 comments on commit 763935c

Please sign in to comment.