mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-22 13:53:00 +00:00
SMS restoration fix
This commit is contained in:
+2
-2
@@ -195,9 +195,9 @@ class SmsMapper extends Mapper {
|
|||||||
while ($row = $result->fetch()) {
|
while ($row = $result->fetch()) {
|
||||||
$messageList[$row["sms_date"]] = array(
|
$messageList[$row["sms_date"]] = array(
|
||||||
"address" => $row["sms_address"],
|
"address" => $row["sms_address"],
|
||||||
"mailbox" => $row["sms_mailbox"],
|
"mailbox" => intval($row["sms_mailbox"]),
|
||||||
"msg" => $row["sms_msg"],
|
"msg" => $row["sms_msg"],
|
||||||
"type" => $row["sms_type"]
|
"type" => intval($row["sms_type"])SMS
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $messageList;
|
return $messageList;
|
||||||
|
|||||||
Reference in New Issue
Block a user