fix bug du send_bug qui ouvre une page inexistante sur xnet
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 23 Nov 2006 00:08:35 +0000 (00:08 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 23 Nov 2006 00:08:35 +0000 (00:08 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1143 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/xnet.php

index e43cd55..f3cf0f9 100644 (file)
@@ -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;