diff options
| -rw-r--r-- | modules/mod_calendar.php | 4 | ||||
| -rw-r--r-- | modules/mod_minical.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_calendar.php b/modules/mod_calendar.php index 33bc9d0..92c390b 100644 --- a/modules/mod_calendar.php +++ b/modules/mod_calendar.php @@ -33,6 +33,6 @@ $calHash = array( $cal->setupCalendar(FALSE); -$_template->tpl_vars['modCalNavigation'] = new Smarty_variable( $cal->buildCalendarNavigation( $calHash ); -$_template->tpl_vars['modCalMonth'] = new Smarty_variable( $calMonth = $cal->buildMonth( $calHash ); +$_template->tpl_vars['modCalNavigation'] = new Smarty_variable( $cal->buildCalendarNavigation( $calHash ) ); +$_template->tpl_vars['modCalMonth'] = new Smarty_variable( $calMonth = $cal->buildMonth( $calHash ) ); ?> diff --git a/modules/mod_minical.php b/modules/mod_minical.php index 384e2e6..c3d57b0 100644 --- a/modules/mod_minical.php +++ b/modules/mod_minical.php @@ -12,5 +12,5 @@ global $gBitSmarty; // Make sure we know how to do the data_calendar require_once(CALENDAR_PKG_PATH.'liberty_plugins/data.calendar.php'); -$_template->tpl_vars['mini_cal'] = new Smarty_variable(data_calendar( '', empty($moduleParams['module_params']); +$_template->tpl_vars['mini_cal'] = new Smarty_variable(data_calendar( '', empty($moduleParams['module_params']) ) ); ?> |
