Fix list of event empty.
This commit is contained in:
parent
571110f60a
commit
65913cdd15
@ -389,6 +389,9 @@ class ActionComm extends CommonObject
|
||||
const EVENT_FINISHED = 100;
|
||||
|
||||
|
||||
public $fields = array();
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
|
||||
@ -642,7 +642,6 @@ $s = $newtitle;
|
||||
|
||||
// Calendars from hooks
|
||||
$parameters = array();
|
||||
$object = null;
|
||||
$reshook = $hookmanager->executeHooks('addCalendarChoice', $parameters, $object, $action);
|
||||
if (empty($reshook)) {
|
||||
$s .= $hookmanager->resPrint;
|
||||
@ -687,7 +686,6 @@ $viewmode .= '<span class="marginrightonly"></span>';
|
||||
|
||||
// Add more views from hooks
|
||||
$parameters = array();
|
||||
$object = null;
|
||||
$reshook = $hookmanager->executeHooks('addCalendarView', $parameters, $object, $action);
|
||||
if (empty($reshook)) {
|
||||
$viewmode .= $hookmanager->resPrint;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user