mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-10 17:36:21 +00:00
By preparing the correct query it's better
This commit is contained in:
parent
66417419c3
commit
dfbee0fac1
@ -35,7 +35,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"],
|
(int) $sms["date"], (int) $sms["_id"],
|
||||||
$sms["address"], $sms["body"]
|
$sms["address"], $sms["body"], (int) $sms["mbox"]
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user