1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-20 12:52:58 +00:00

Little typo fixes

This commit is contained in:
Loic Blot
2014-09-16 18:34:39 +00:00
parent 169302516b
commit d456178c18
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -52,11 +52,10 @@ class SmsMapper extends Mapper {
$phoneList = array();
while($row = $result->fetchRow()) {
if (!in_array($row["sms_id"], $phoneList)) {
array_push($phoneList);
if (!in_array($row["sms_address"], $phoneList)) {
array_push($phoneList, $row["sms_address"]);
}
}
sort($phoneList);
return $phoneList;
}