From 92169c1d1ff0356cc4fb2dd645c3a08861d36450 Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Thu, 23 Nov 2006 00:08:35 +0000 Subject: [PATCH] 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 --- modules/xnet.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.1.4