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;
|
const EVENT_FINISHED = 100;
|
||||||
|
|
||||||
|
|
||||||
|
public $fields = array();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
|||||||
@ -642,7 +642,6 @@ $s = $newtitle;
|
|||||||
|
|
||||||
// Calendars from hooks
|
// Calendars from hooks
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
$object = null;
|
|
||||||
$reshook = $hookmanager->executeHooks('addCalendarChoice', $parameters, $object, $action);
|
$reshook = $hookmanager->executeHooks('addCalendarChoice', $parameters, $object, $action);
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
$s .= $hookmanager->resPrint;
|
$s .= $hookmanager->resPrint;
|
||||||
@ -687,7 +686,6 @@ $viewmode .= '<span class="marginrightonly"></span>';
|
|||||||
|
|
||||||
// Add more views from hooks
|
// Add more views from hooks
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
$object = null;
|
|
||||||
$reshook = $hookmanager->executeHooks('addCalendarView', $parameters, $object, $action);
|
$reshook = $hookmanager->executeHooks('addCalendarView', $parameters, $object, $action);
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
$viewmode .= $hookmanager->resPrint;
|
$viewmode .= $hookmanager->resPrint;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user