[Tickets #7401] Catch errors in hasPermission

bugs at horde.org bugs at horde.org
Fri Sep 26 16:56:50 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7401
------------------------------------------------------------------------------
  Ticket             | 7401
  Created By         | Duck <duck at obala.net>
  Summary            | Catch errors in hasPermission
  Queue              | Horde Framework Packages
  Version            | HEAD
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | Share.diff
------------------------------------------------------------------------------


Duck <duck at obala.net> (2008-09-26 12:56) wrote:

getShare() can return an error so catch it. Catch even a passed  
PEAR_Error object as share, otherwise we get an fatal error.






More information about the bugs mailing list