From: x2001corpet Date: Thu, 23 Nov 2006 00:08:35 +0000 (+0000) Subject: fix bug du send_bug qui ouvre une page inexistante sur xnet X-Git-Tag: xorg/0.9.12~55 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=92169c1d1ff0356cc4fb2dd645c3a08861d36450;p=platal.git fix bug du send_bug qui ouvre une page inexistante sur xnet git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1143 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/xnet.php b/modules/xnet.php index e43cd55..f3cf0f9 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -32,9 +32,16 @@ class XnetModule extends PLModule 'groups' => $this->make_hook('groups', AUTH_PUBLIC), 'groupes.php' => $this->make_hook('groups2', AUTH_PUBLIC), 'plan' => $this->make_hook('plan', AUTH_PUBLIC), + 'send_bug' => $this->make_hook('bug', AUTH_MDP), ); } + function handler_bug(&$page) + { + $this->handler_index(&$page); + $page->assign('bug', 1); + } + function handler_index(&$page) { $page->nomenu = true;