10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 342 Views |
-
Bug in event calendar module

5 January 2011 at 3:33am
If you extend CalendarEvent and add your own $has_many things break because CalendarEvent does
$has_manys = eval("return $class::\$has_many;");
which doesn't take the class hierarchy into account. Using
$has_manys = Object::combined_static($class, "has_many");
instead fixes this.
| 342 Views | ||
|
Page:
1
|
Go to Top |

