From 1fd044082ffaeb387c240726ce6a59add3fc5600 Mon Sep 17 00:00:00 2001 From: Pierre-Lin Bonnemaison Date: Tue, 18 Aug 2015 05:06:57 +0200 Subject: [PATCH] Fix d'une mauvaise insertion dans les tranfers sur la reception d'un sms --- controllers/internalConsole.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/internalConsole.php b/controllers/internalConsole.php index 325946a..8a8dfb1 100755 --- a/controllers/internalConsole.php +++ b/controllers/internalConsole.php @@ -280,7 +280,7 @@ } //On insert le SMS dans le tableau des sms à envoyer par mail - $db->insertIntoTable('transfers', ['content' => $content]); + $db->insertIntoTable('transfers', ['id_received' => $db->lastId(), 'progress' => false]); //Chaque commande sera executée. foreach ($found_commands as $command_name => $command)