[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.10.4.2,1.10.4
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.10.4.2,1.10.4.3 |
Date: |
Sat, 24 May 2003 10:24:13 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30073
Modified Files:
Tag: Version-0_9_16-branch
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.10.4.2
retrieving revision 1.10.4.3
diff -C2 -r1.10.4.2 -r1.10.4.3
*** class.hooks.inc.php 28 Apr 2003 08:22:07 -0000 1.10.4.2
--- class.hooks.inc.php 24 May 2003 14:24:10 -0000 1.10.4.3
***************
*** 79,82 ****
--- 79,87 ----
{
$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;
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.10.4.2,1.10.4.3,
Ralf Becker <address@hidden> <=