From 4a2604237d949b5a75e99093a771f87394aae4f2 Mon Sep 17 00:00:00 2001 From: Pierre-Lin Bonnemaison Date: Sun, 16 Aug 2015 03:32:45 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20une=20minute=20avant=20par=20d?= =?UTF-8?q?=C3=A9faut=20sur=20l'envoi=20des=20SMS,=20plus=20pratique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/scheduleds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/scheduleds.php b/controllers/scheduleds.php index dde189d..0b05039 100755 --- a/controllers/scheduleds.php +++ b/controllers/scheduleds.php @@ -59,7 +59,7 @@ { $now = new DateTime(); $babyonemoretime = new DateInterval('PT1M'); //Haha, i'm so a funny guy - $now->add($babyonemoretime); + $now->sub($babyonemoretime); $now = $now->format('Y-m-d H:i'); return $this->render('scheduleds/add', array( 'now' => $now