mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
Separate JSON output of contact lists in message_recipient template
This commit is contained in:
parent
58737ba70f
commit
ce9939b4c0
2 changed files with 4 additions and 3 deletions
|
@ -66,8 +66,9 @@ class ACL
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('acl/message_recipient.tpl');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$contacts' => json_encode($contacts),
|
||||
'$selected' => $selected,
|
||||
'$contacts' => $contacts,
|
||||
'$contacts_json' => json_encode($contacts),
|
||||
'$selected' => $selected,
|
||||
]);
|
||||
|
||||
Hook::callAll(DI::args()->getModuleName() . '_post_recipient', $o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue