1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-10 01:16:12 +00:00

By preparing the correct query it's better

This commit is contained in:
Loïc Blot (@U-Exp) 2014-09-12 19:47:14 +02:00
parent 66417419c3
commit dfbee0fac1

View File

@ -35,7 +35,7 @@ class SmsMapper extends Mapper {
$result = $query->execute(array(
$userId, "NOW()", "NOW()", $smsFlags,
(int) $sms["date"], (int) $sms["_id"],
$sms["address"], $sms["body"]
$sms["address"], $sms["body"], (int) $sms["mbox"]
));
}
}