[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19100] Fix the access denied stuff (notices)
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [19100] Fix the access denied stuff (notices) |
Date: |
Wed, 11 Mar 2009 10:30:41 +0000 |
Revision: 19100
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19100
Author: Caeies
Date: 2009-03-11 10:30:39 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
Fix the access denied stuff (notices)
Modified Paths:
--------------
core/trunk/phpgwapi/templates/idots/navbar.inc.php
Modified: core/trunk/phpgwapi/templates/idots/navbar.inc.php
===================================================================
--- core/trunk/phpgwapi/templates/idots/navbar.inc.php 2009-03-11 10:29:16 UTC
(rev 19099)
+++ core/trunk/phpgwapi/templates/idots/navbar.inc.php 2009-03-11 10:30:39 UTC
(rev 19100)
@@ -157,8 +157,9 @@
|| !$GLOBALS['phpgw_info']['flags']['noappheader'] )
&& isset($_GET['menuaction']) )
{
- list($app,$class,$method) =
explode('.',$_GET['menuaction']);
- if (is_array($GLOBALS[$class]->public_functions) &&
isset($GLOBALS[$class]->public_functions['header']) )
+ list($app,$class,$method) =
explode('.',phpgw::get_var('menuaction', 'string', 'GET'));
+ //XXX Caeies 03/09 : Added isset($GLOBALS[$class])
since in the case of Access denied, the application is not set ?
+ if (isset($GLOBALS[$class]) &&
is_array($GLOBALS[$class]->public_functions) &&
isset($GLOBALS[$class]->public_functions['header']) )
{
$GLOBALS[$class]->header();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19100] Fix the access denied stuff (notices),
Caeies <=