X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Faxletter.php;h=99d45ad3e43c661c1b0099c00377e20da02175d2;hb=5c11ce3d14becb0799434db3f1c6cc37eab3ca0f;hp=9467dd08b03ec80a1ed8bf0141ca7e9a2ebc3433;hpb=956cd5c10a027f75283d91545a5d5feeed1874ef;p=platal.git diff --git a/modules/axletter.php b/modules/axletter.php index 9467dd0..99d45ad 100644 --- a/modules/axletter.php +++ b/modules/axletter.php @@ -29,6 +29,7 @@ class AXLetterModule extends NewsletterModule 'ax' => $this->make_hook('nl', AUTH_COOKIE), 'ax/out' => $this->make_hook('out', AUTH_PUBLIC), 'ax/show' => $this->make_hook('nl_show', AUTH_COOKIE), + 'ax/search' => $this->make_hook('nl_search', AUTH_COOKIE), 'ax/admin' => $this->make_hook('admin_nl', AUTH_MDP), 'ax/admin/edit' => $this->make_hook('admin_nl_edit', AUTH_MDP), 'ax/admin/edit/valid' => $this->make_hook('admin_nl_valid', AUTH_MDP), @@ -43,7 +44,7 @@ class AXLetterModule extends NewsletterModule return NewsLetter::forGroup(NewsLetter::GROUP_AX); } - function handler_out(&$page, $hash = null) + function handler_out($page, $hash = null) { if (!$hash) { if (!S::logged()) {