phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.16,1.17


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.16,1.17
Date: Sat, 24 May 2003 10:25:15 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30295

Modified Files:
        class.hooks.inc.php 
Log Message:
Fix for methode-hooks with no return-value


Index: class.hooks.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.hooks.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** class.hooks.inc.php 28 Apr 2003 08:23:51 -0000      1.16
--- class.hooks.inc.php 24 May 2003 14:25:13 -0000      1.17
***************
*** 78,81 ****
--- 78,86 ----
                        {
                                $results[$appname] = 
$this->single($args,$appname,$no_permission_check);
+ 
+                               if (!isset($results[$appname])) // happens if 
the methode hook has no return-value
+                               {
+                                       $results[$appname] = False;
+                               }
                        }
  





reply via email to

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