mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-23 09:55:44 +00:00
Remove integer cast on date. This fix an integer overflow on 32 bits systems
This commit is contained in:
parent
df95014fc6
commit
7c0bd22385
@ -260,7 +260,7 @@ class SmsMapper extends Mapper {
|
|||||||
'(?,?,?,?,?,?,?,?,?,?)');
|
'(?,?,?,?,?,?,?,?,?,?)');
|
||||||
$result = $query->execute(array(
|
$result = $query->execute(array(
|
||||||
$userId, "NOW()", "NOW()", $smsFlags,
|
$userId, "NOW()", "NOW()", $smsFlags,
|
||||||
(int) $sms["date"], (int) $sms["_id"],
|
$sms["date"], (int) $sms["_id"],
|
||||||
$sms["address"], $sms["body"], (int) $sms["mbox"],
|
$sms["address"], $sms["body"], (int) $sms["mbox"],
|
||||||
(int) $sms["type"]
|
(int) $sms["type"]
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user