From: Michael J. Rubinsky Date: Sat, 24 Oct 2009 17:40:53 +0000 (-0400) Subject: Fix obtaining resource id X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f902ac8fd0cc328b8b663c8a0516081f0e5b181c;p=horde.git Fix obtaining resource id --- diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index da5caf003..cee6da0d3 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -1637,8 +1637,8 @@ abstract class Kronolith_Event */ function removeResource($resource) { - if (isset($this->_resources[$resource->id])) { - unset ($this->_resources[$resource->id]); + if (isset($this->_resources[$resource->getId()])) { + unset ($this->_resources[$resource->getId()]); } }