Skip to content

Commit

Permalink
FIX Création réservation
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeDevome committed Apr 10, 2023
1 parent 5c3fbe2 commit 5621a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Expand Up @@ -745,7 +745,7 @@ function plages_libre_semaine_ressource($id_room, $month_week, $day_week, $year_
while ($t < $date_end)
{
$t_end = $t + $resolution;
$query = "SELECT end_time FROM ".TABLE_PREFIX."_entry WHERE room_id='".$id_room."' AND start_time <= ".$t." AND end_time >= ".$t_end." ";
$query = "SELECT end_time FROM ".TABLE_PREFIX."_entry WHERE room_id='".$id_room."' AND start_time <= ".$t." AND end_time >= ".$t_end." AND supprimer = 0 ";
$end_time = grr_sql_query1($query);
if ($end_time == -1){
$plage_libre = true;
Expand Down

0 comments on commit 5621a1c

Please sign in to comment.