phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc footer.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc footer.inc.php
Date: Tue, 29 Aug 2006 04:19:28 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/08/29 04:19:28

Modified files:
        inc            : footer.inc.php 

Log message:
        fix undefined index

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/footer.inc.php?cvsroot=phpgwapi&r1=1.25&r2=1.26

Patches:
Index: footer.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/footer.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- footer.inc.php      6 Aug 2006 04:51:26 -0000       1.25
+++ footer.inc.php      29 Aug 2006 04:19:28 -0000      1.26
@@ -7,7 +7,7 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage utilities
-       * @version $Id: footer.inc.php,v 1.25 2006/08/06 04:51:26 skwashd Exp $
+       * @version $Id: footer.inc.php,v 1.26 2006/08/29 04:19:28 skwashd Exp $
        */
 
        
/**************************************************************************\
@@ -17,7 +17,9 @@
        if ( isset($GLOBALS['phpgw_info']['menuaction']) && 
$GLOBALS['phpgw_info']['menuaction'])
        {
                list($app,$class,$method) = 
explode('.',$GLOBALS['phpgw_info']['menuaction']);
-               if (is_array($GLOBALS[$class]->public_functions) && 
$GLOBALS[$class]->public_functions['footer'])
+               if ( is_array($GLOBALS[$class]->public_functions) 
+                       && isset($GLOBALS[$class]->public_functions['footer'])
+                       && $GLOBALS[$class]->public_functions['footer'] )
                {
                        $GLOBALS[$class]->footer();
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]