]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/ACL.php
Fixes space
[friendica.git] / src / Core / ACL.php
index 347e8278f9eca5d3d1b2ab762e756fb382a9660c..2a9c02e81216fc5468cb92117728f1990ebdd671 100644 (file)
@@ -80,7 +80,7 @@ class ACL
 
                $arr = ['contact' => $contacts, 'entry' => $o];
 
-               Hook::callAll(DI::module()->getName() . '_pre_recipient', $arr);
+               Hook::callAll(DI::args()->getModuleName() . '_pre_recipient', $arr);
 
                $tpl = Renderer::getMarkupTemplate('acl/message_recipient.tpl');
                $o = Renderer::replaceMacros($tpl, [
@@ -88,7 +88,7 @@ class ACL
                        '$selected' => $selected,
                ]);
 
-               Hook::callAll(DI::module()->getName() . '_post_recipient', $o);
+               Hook::callAll(DI::args()->getModuleName() . '_post_recipient', $o);
 
                return $o;
        }