phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.hooks.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/inc class.hooks.inc.php
Date: Sat, 25 Nov 2006 16:25:22 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   06/11/25 16:25:22

Modified files:
        inc            : class.hooks.inc.php 

Log message:
        notices

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.hooks.inc.php?cvsroot=phpgwapi&r1=1.23&r2=1.24

Patches:
Index: class.hooks.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.hooks.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- class.hooks.inc.php 20 Oct 2006 13:43:45 -0000      1.23
+++ class.hooks.inc.php 25 Nov 2006 16:25:22 -0000      1.24
@@ -6,7 +6,7 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage application
-       * @version $Id: class.hooks.inc.php,v 1.23 2006/10/20 13:43:45 skwashd 
Exp $
+       * @version $Id: class.hooks.inc.php,v 1.24 2006/11/25 16:25:22 sigurdne 
Exp $
        */
 
        /**
@@ -78,14 +78,19 @@
                                $apps = $GLOBALS['phpgw_info']['user']['apps'];
                        }
                        if(is_array($apps))
+                       {
                        foreach($apps as $app)
                        {
+                                       if(isset($app['name']) && $app['name'])
+                                       {
                                $appname = $app['name'];
                                if (!isset($results[$appname]))
                                {
                                        $results[$appname] = 
$this->single($args,$appname,$no_permission_check);
                                }
                        }
+                               }
+                       }
                        return $results;
                }
 




reply via email to

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