MantisBT - v3.0 Release
View Issue Details
0001028v3.0 Release[All Projects] Generalpublic2011-12-02 00:212013-08-28 11:21
Reportersasquatch58 
Assigned Tocaseydk 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.0.0 
Summary0001028: Hook Handler Class correction
DescriptionIn testing the Holiday module, I found problems with display of Calendar with Month & Week view - calendar not visible and error reported was "Fatal error: Call to undefined method CHoliday::hook_calendar_links() in /opt/web2dev/classes/w2p/Core/HookHandler.class.php on line 80"
Tracked to ..../classes/w2p/Core/HookHandler.class.php line 79.
Change:
if (is_callable(array($object, 'hook_calendar')) && is_callable(array($object, 'getCalendarLink'))) {
to:
if (is_callable(array($object, $hookname)) && is_callable(array($object, 'getCalendarLink'))) {
and all should work OK - calendar displays OK but currently not showing holiday name text (still chasing that one but no errors listed).
Cheers
TagsNo tags attached.
Attached Files

Notes
(0002347)
caseydk   
2011-12-12 06:08   
Thanks, resolved in r2228

Issue History
2011-12-02 00:21sasquatch58New Issue
2011-12-11 17:50caseydkStatusnew => assigned
2011-12-11 17:50caseydkAssigned To => caseydk
2011-12-12 06:08caseydkNote Added: 0002347
2011-12-12 06:08caseydkStatusassigned => resolved
2011-12-12 06:08caseydkResolutionopen => fixed
2013-08-28 11:13caseydkFixed in Version => 3.0.0
2013-08-28 11:21caseydkStatusresolved => closed