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:
+1
-1
@@ -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"]
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user