1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Remove integer cast on date. This fix an integer overflow on 32 bits systems

This commit is contained in:
Ner'zhul
2014-12-09 16:26:53 +01:00
parent df95014fc6
commit 7c0bd22385
+1 -1
View File
@@ -260,7 +260,7 @@ class SmsMapper extends Mapper {
'(?,?,?,?,?,?,?,?,?,?)');
$result = $query->execute(array(
$userId, "NOW()", "NOW()", $smsFlags,
(int) $sms["date"], (int) $sms["_id"],
$sms["date"], (int) $sms["_id"],
$sms["address"], $sms["body"], (int) $sms["mbox"],
(int) $sms["type"]
));