| Summary | hook example is wrong |
| Queue | Ansel |
| Queue Version | 1.1.2 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | mrubinsk (at) horde (dot) org |
| Requester | michael (at) bigmichi1 (dot) de |
| Created | 11/20/10 (5620 days ago) |
| Due | |
| Updated | 11/21/10 (5619 days ago) |
| Assigned | |
| Resolved | 11/21/10 (5619 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
Reversed logic
Bug: 9399Submitted by: michael (at) bigmichi1 (dot) de
http://cvs.horde.org/diff.php/ansel/config/hooks.php.dist?rt=horde&r1=1.2&r2=1.2.2.1&ty=u
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ansel
Summary ⇒ hook example is wrong
Type ⇒ Bug
State ⇒ Unconfirmed
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;