6.0.0-beta1
7/13/25

[#7401] Catch errors in hasPermission
Summary Catch errors in hasPermission
Queue Horde Framework Packages
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester duck (at) obala (dot) net
Created 09/26/2008 (6134 days ago)
Due
Updated 09/27/2008 (6133 days ago)
Assigned
Resolved 09/27/2008 (6133 days ago)
Milestone
Patch Yes

History
09/27/2008 01:52:41 AM Chuck Hagenbuch Comment #3
State ⇒ Resolved
Reply to this comment
Committed, thanks!
09/27/2008 01:52:16 AM CVS Commit Comment #2 Reply to this comment
09/26/2008 04:56:49 PM Duck Comment #1
Priority ⇒ 1. Low
New Attachment: Share.diff Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Catch errors in hasPermission
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
getShare() can return an error so catch it. Catch even a passed 
PEAR_Error object as share, otherwise we get an fatal error.

Saved Queries