Browse Source

[backend] Problème cron paiement automatique des commandes quand order_deadline = 24 (minuit)

dev
Guillaume Bourgeois 5 years ago
parent
commit
ebc6fc4044
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      backend/controllers/CronController.php

+ 1
- 0
backend/controllers/CronController.php View File



if ($hour == '00') { if ($hour == '00') {
$date = date('Y-m-d'); $date = date('Y-m-d');
$hour = 24 ;
} else { } else {
$date = date('Y-m-d', time() + 24 * 60 * 60); $date = date('Y-m-d', time() + 24 * 60 * 60);
} }

Loading…
Cancel
Save