Просмотр исходного кода

Fixed Trac #301: don't force users back into the portal if they are not "portal" users.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1251 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 лет назад
Родитель
Сommit
0ba6ca7b34
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/portalwebpage.class.inc.php

+ 1 - 1
application/portalwebpage.class.inc.php

@@ -165,7 +165,7 @@ EOF
 	public function output()
 	{
 		$sMenu = '';
-		$this->AddMenuButton('logoff', 'Portal:Disconnect', '../pages/logoff.php?portal=1'); // This menu is always present and is the last one
+		$this->AddMenuButton('logoff', 'Portal:Disconnect', '../pages/logoff.php'); // This menu is always present and is the last one
 		foreach($this->m_aMenuButtons as $aMenuItem)
 		{
 			$sMenu .= "<a class=\"button\" id=\"{$aMenuItem['id']}\" href=\"{$aMenuItem['hyperlink']}\"><span>".Dict::S($aMenuItem['label'])."</span></a>";