[Tickets #9399] hook example is wrong
bugs at horde.org
bugs at horde.org
Sat Nov 20 08:20:15 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9399
------------------------------------------------------------------------------
Ticket | 9399
Created By | michael at bigmichi1.de
Summary | hook example is wrong
Queue | Ansel
Version | 1.1.2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
michael at bigmichi1.de (2010-11-20 03:20) wrote:
the return statement for the age hook in the hook.php file is wrong.
instead of the line: return is_a($result, 'PEAR_Error') ? (int)$result : 0;
it must be: return !is_a($result, 'PEAR_Error') ? (int)$result : 0;
More information about the bugs
mailing list