phpgroupware-developers
[Top][All Lists]
Advanced

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

[phpGroupWare-developers] tiny patch to fix notice for idots head


From: Maat
Subject: [phpGroupWare-developers] tiny patch to fix notice for idots head
Date: Mon, 16 Jul 2007 17:52:15 +0200
User-agent: Thunderbird 2.0.0.4 (X11/20070620)

the error is :

ERROR Notice: Undefined index: navbar_format in
/home/pascal/public_html/phpgwapihead/templates/idots/navbar.inc.php at
line 55*

ERROR Notice: Undefined index: navbar_format in
/home/pascal/public_html/phpgwapihead/templates/idots/navbar.inc.php at
line 55*

ERROR Notice: Undefined index: navbar_format in
/home/pascal/public_html/phpgwapihead/templates/idots/navbar.inc.php at
line 55*

ERROR Notice: Undefined index: navbar_format in
/home/pascal/public_html/phpgwapihead/templates/idots/navbar.inc.php at
line 55*

ERROR Notice: Undefined index: navbar_format in
/home/pascal/public_html/phpgwapihead/templates/idots/navbar.inc.php at
line 55*


and here is the patch :


Index: templates/idots/navbar.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/templates/idots/navbar.inc.php,v
retrieving revision 1.20
diff -u -r1.20 navbar.inc.php
--- templates/idots/navbar.inc.php      7 Mar 2007 08:22:46 -0000       1.20
+++ templates/idots/navbar.inc.php      16 Jul 2007 15:50:37 -0000
@@ -49,6 +49,9 @@
                                                'target'        =>
isset($app_data['target'])?$app_data['target']:''
                                        );

+                               if
(!isset($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']))
+                                      
$GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']="";
+
                               
switch($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'])
                                {
                                        case 'icons':





reply via email to

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