This commit is contained in:
Kendrick Chan 2020-05-09 22:30:47 +08:00
parent f059e2b981
commit 1269774c39

View file

@ -3079,7 +3079,7 @@ class APIController extends Controller implements LoggedController
if ($mins > 10)
{
$next_slot_id = sprintf('%02d_$02d', $hour + 1, $hour + 2);
error_log("NEXT SLOT - $date_string - $slot_id");
error_log("NEXT SLOT - $date_string - $next_slot_id");
// decrement rider slot
if (isset($hub_rider_slots[$date_string][$next_slot_id]))
$hub_rider_slots[$date_string][$next_slot_id]--;