X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fepletter.php;h=af633f8a9f2b07e4debb77d84ac510634239aea9;hb=e23d21c1588a9ffa0697aef08e9ebdada4fe167e;hp=99072604a82b14f76e347a0a02fc928aa8005855;hpb=956cd5c10a027f75283d91545a5d5feeed1874ef;p=platal.git diff --git a/modules/epletter.php b/modules/epletter.php index 9907260..af633f8 100644 --- a/modules/epletter.php +++ b/modules/epletter.php @@ -29,6 +29,7 @@ class EPLetterModule extends NewsletterModule 'epletter' => $this->make_hook('nl', AUTH_COOKIE), 'epletter/out' => $this->make_hook('out', AUTH_PUBLIC), 'epletter/show' => $this->make_hook('nl_show', AUTH_COOKIE), + 'epletter/search' => $this->make_hook('nl_search', AUTH_COOKIE), 'epletter/admin' => $this->make_hook('admin_nl', AUTH_MDP), 'epletter/admin/edit' => $this->make_hook('admin_nl_edit', AUTH_MDP), 'epletter/admin/edit/valid' => $this->make_hook('admin_nl_valid', AUTH_MDP), @@ -43,7 +44,7 @@ class EPLetterModule extends NewsletterModule return NewsLetter::forGroup(NewsLetter::GROUP_EP); } - function handler_out(&$page, $hash = null) + function handler_out($page, $hash = null) { if (!$hash) { if (!S::logged()) {