1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Release 1.11.2

* Rename to Nextcloud SMS (TEMP)
* Add screenshot for appstore
This commit is contained in:
Loic Blot
2016-12-15 09:24:06 +01:00
parent 218a3e61d4
commit 28fd2f91ee
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ class SmsMapper extends Mapper {
$query = \OCP\DB::prepare('SELECT sms_address, sms_date, sms_msg, sms_type, sms_mailbox FROM ' .
'*PREFIX*ocsms_smsdatas WHERE user_id = ? AND sms_date > ? ORDER BY sms_date LIMIT ?');
$result = $query->execute(array($userId, $start, $limit));
$result = $query->execute(array($userId, $start, (int) $limit));
while ($row = $result->fetchRow()) {
$messageList[$row["sms_date"]] = array(
"address" => $row["sms_address"],