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