Prevents notice when no menu on xnet.
authorStéphane Jacob <sj@m4x.org>
Mon, 19 Jul 2010 15:03:02 +0000 (17:03 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 20 Jul 2010 08:49:59 +0000 (10:49 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/xnetpage.php

index f4d8e00..2a63e16 100644 (file)
@@ -55,6 +55,8 @@ class XnetPage extends PlPage
     {
         if (!$this->nomenu) {
             $this->useMenu();
+        } else {
+            $this->assign('menu', false);
         }
         $this->_run('xnet/skin.tpl');
     }