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:
+2
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user