Fix js
This commit is contained in:
parent
54f3567714
commit
48b2ba5684
|
@ -172,12 +172,13 @@ namespace controllers\publics;
|
||||||
|
|
||||||
foreach ($receiveds as $key => $received)
|
foreach ($receiveds as $key => $received)
|
||||||
{
|
{
|
||||||
|
$receiveds[$key]['text'] = $this->s($received['text'], false, true, false);
|
||||||
|
|
||||||
if (!$contact = $this->internal_contact->get_by_number_and_user($_SESSION['user']['id'], $received['origin']))
|
if (!$contact = $this->internal_contact->get_by_number_and_user($_SESSION['user']['id'], $received['origin']))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$receiveds[$key]['text'] = $this->s($received['text'], false, true, false);
|
|
||||||
$receiveds[$key]['origin'] = $this->s($contact['name'], false, true, false) . ' (' . \controllers\internals\Tool::phone_link($received['origin']) . ')';
|
$receiveds[$key]['origin'] = $this->s($contact['name'], false, true, false) . ' (' . \controllers\internals\Tool::phone_link($received['origin']) . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue