Small fix in menu generation
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 21 Oct 2006 10:12:48 +0000 (10:12 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 21 Oct 2006 10:12:48 +0000 (10:12 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@995 839d8a87-29fc-0310-9880-83ba4fa771e5

include/xnet/page.inc.php

index bb975f3..533ba92 100644 (file)
@@ -73,7 +73,7 @@ class XnetPage extends PlatalPage
         $sub['documentation']     = 'Xnet';
         $menu["Menu Principal"]   = $sub;
         
-        if (S::logged()) {
+        if (S::logged() && $globals->asso()) {
             $sub = array();
             $dim = $globals->asso('diminutif');
             $sub['prĂ©sentation'] = "$dim/";