phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgroupware home.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgroupware home.php
Date: Wed, 06 Sep 2006 06:27:21 +0000

CVSROOT:        /sources/phpgroupware
Module name:    phpgroupware
Changes by:     Sigurd Nes <sigurdne>   06/09/06 06:27:21

Modified files:
        .              : home.php 

Log message:
        E_NOTICES

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/home.php?cvsroot=phpgroupware&r1=1.31&r2=1.32

Patches:
Index: home.php
===================================================================
RCS file: /sources/phpgroupware/phpgroupware/home.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- home.php    30 Aug 2006 16:19:46 -0000      1.31
+++ home.php    6 Sep 2006 06:27:21 -0000       1.32
@@ -7,7 +7,7 @@
        * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgroupware
-       * @version $Id: home.php,v 1.31 2006/08/30 16:19:46 skwashd Exp $
+       * @version $Id: home.php,v 1.32 2006/09/06 06:27:21 sigurdne Exp $
        */
 
        /**
@@ -71,7 +71,7 @@
                && ($GLOBALS['phpgw_info']['server']['useframes'] == 'allowed'
                || $GLOBALS['phpgw_info']['server']['useframes'] == 'always') )
                {
-                       if ($_GET['cd'] == 'yes')
+                       if (isset($_GET['cd']) && $_GET['cd'] == 'yes')
                        {
                                if (! $navbarframe && ! $framebody)
                                {
@@ -112,7 +112,7 @@
                                }
                        }
                }
-               elseif ($_GET['cd']=='yes' && 
$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']
+               elseif (isset($_GET['cd']) && $_GET['cd']=='yes' && 
$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']
                        && 
$GLOBALS['phpgw_info']['user']['apps'][$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']])
                {
                        $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/' 
. $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] . '/' 
. 'index.php'));




reply via email to

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