projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264b6be
)
Fix obtaining resource id
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Oct 2009 17:40:53 +0000
(13:40 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Oct 2009 17:40:53 +0000
(13:40 -0400)
kronolith/lib/Event.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Event.php
b/kronolith/lib/Event.php
index
da5caf0
..
cee6da0
100644
(file)
--- 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()
]);
}
}