This commit is contained in:
osaajani 2021-08-29 05:37:52 +02:00
parent 54f3567714
commit 48b2ba5684
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
v3.1.10 v3.1.11

View File

@ -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']) . ')';
} }