projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f902ac8
)
Fix logic
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Oct 2009 17:48:46 +0000
(13:48 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Oct 2009 17:48:46 +0000
(13:48 -0400)
kronolith/lib/Event.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Event.php
b/kronolith/lib/Event.php
index
cee6da0
..
b67d908
100644
(file)
--- a/
kronolith/lib/Event.php
+++ b/
kronolith/lib/Event.php
@@
-327,7
+327,8
@@
abstract class Kronolith_Event
/* Get the resource and protect against infinite recursion in case
* someone is silly enough to add a resource to it's own event.*/
$resource = Kronolith::getDriver('Resource')->getResource($id);
- if ($rcal = $resource->get('calendar') == $this->getCalendar()) {
+ $rcal = $resource->get('calendar');
+ if ($rcal == $this->getCalendar()) {
continue;
}