1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-07-23 18:05:33 +00:00

SMS restoration fix

This commit is contained in:
Loïc Blot 2018-05-15 14:58:45 +02:00 committed by GitHub
parent 03e026d239
commit d4e60ba755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,9 +195,9 @@ class SmsMapper extends Mapper {
while ($row = $result->fetch()) {
$messageList[$row["sms_date"]] = array(
"address" => $row["sms_address"],
"mailbox" => $row["sms_mailbox"],
"mailbox" => intval($row["sms_mailbox"]),
"msg" => $row["sms_msg"],
"type" => $row["sms_type"]
"type" => intval($row["sms_type"])SMS
);
}
return $messageList;