1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-17 03:13:07 +00:00

Testing boolean modif for draft field

This commit is contained in:
Loïc Blot (@U-Exp)
2014-09-12 16:50:45 +02:00
parent 3096f44293
commit c089cc3ded
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class SmsMapper extends Mapper {
$result = $query->execute(array(
$userId, "NOW()", "NOW()",
$sms["read"] === "true", $sms["seen"] === "true",
(int) $sms["date"], $sms["draft"] === "true", $sms["id"],
(int) $sms["date"], $sms["draft"], (int) $sms["id"],
$sms["address"], $sms["body"]
));
}