Skip to content

Commit

Permalink
Fix Deux reservations ont le même ID
Browse files Browse the repository at this point in the history
Co-Authored-By: Jf <[email protected]>

#397
  • Loading branch information
JeromeDevome committed Dec 14, 2024
1 parent eadc9ea commit cb89a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2788,7 +2788,7 @@ function send_mail($id_entry, $action, $dformat, $tab_id_moderes = array(), $old
if (!$res)
fatal_error(0, grr_sql_error());
$test = grr_sql_count($res);
if ($test != 1)
if ($test > 1)
fatal_error(0, "Deux reservations ont le même ID.");
else
{
Expand Down

0 comments on commit cb89a30

Please sign in to comment.