mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-23 09:55:44 +00:00
Little typo fixes
This commit is contained in:
parent
169302516b
commit
d456178c18
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,19 +1,19 @@
|
||||
<ul>
|
||||
<?php if (count($_["PNLConversations"]) > 0) { ?>
|
||||
<li><a href="#">Conversations</a></li>
|
||||
<li><a href="#">Conversations</a>
|
||||
<ul>
|
||||
<?php foreach ($_["PNLConversations"] as $number) { ?>
|
||||
<li><?php p($number); ?></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</ul></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (count($_["PNLDrafts"]) > 0) { ?>
|
||||
<li><a href="#">Drafts</a></li>
|
||||
<li><a href="#">Drafts</a>
|
||||
<ul>
|
||||
<?php foreach ($_["PNLDrafts"] as $number) { ?>
|
||||
<li><?php p($number); ?></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</ul></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user