Skip to content

Commit

Permalink
correctif : décalage anormal dans le cas de réservations sur plus d'u…
Browse files Browse the repository at this point in the history
…n slot
  • Loading branch information
ynaessens committed Jan 27, 2023
1 parent a2be66d commit 80c387d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions week.php
Expand Up @@ -3,9 +3,9 @@
* week.php
* Affichage du planning en mode "semaine" pour une ressource.
* Ce script fait partie de l'application GRR
* Dernière modification : $Date: 2022-12-15 17:45$
* Dernière modification : $Date: 2023-01-27 13:53$
* @author Laurent Delineau & JeromeB & Yan Naessens
* @copyright Copyright 2003-2022 Team DEVOME - JeromeB
* @copyright Copyright 2003-2023 Team DEVOME - JeromeB
* @link http://www.gnu.org/licenses/licenses.html
*
* This file is part of GRR.
Expand Down Expand Up @@ -754,7 +754,7 @@
}
if (($insere_case == 'n') && ($display_day[$num_week_day] == 1))
{
if (!isset($d[$weekday][$slot - $decale_slot * $nb_case]["id"])) // pas de réservation sur ce slot
if (!isset($d[$weekday][$slot - $decale_slot * $nb_case]["color"])) // pas de réservation sur ce slot
{
$date_booking = mktime($hour, $minute, 0, $wmonth, $wday, $wyear);
if ($enable_periods == 'y')
Expand Down

0 comments on commit 80c387d

Please sign in to comment.