diff options
| author | Nick Palmer <nick@sluggardy.net> | 2008-02-10 12:18:53 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2008-02-10 12:18:53 +0000 |
| commit | da5d88102c19034278c9312ad7d2a830b5203f5a (patch) | |
| tree | ebad7dfd52212b9c5bddb533b519e6828e7ff283 /modules | |
| parent | bfd84fcb36e9c5452ccd1198cdd3584bcbaf862c (diff) | |
| download | calendar-da5d88102c19034278c9312ad7d2a830b5203f5a.tar.gz calendar-da5d88102c19034278c9312ad7d2a830b5203f5a.tar.bz2 calendar-da5d88102c19034278c9312ad7d2a830b5203f5a.zip | |
Make it possible for packages (like events) to keep control of calendar urls.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_minical.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_minical.php b/modules/mod_minical.php index bb57f50..91288d2 100644 --- a/modules/mod_minical.php +++ b/modules/mod_minical.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_calendar/modules/mod_minical.php,v 1.3 2007/11/18 12:00:25 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_calendar/modules/mod_minical.php,v 1.4 2008/02/10 12:18:52 nickpalmer Exp $ * @package calendar * @subpackage modules */ @@ -12,5 +12,5 @@ global $gBitSmarty; // Make sure we know how to do the data_calendar require_once(LIBERTY_PKG_PATH.'plugins/data.calendar.php'); -$gBitSmarty->assign( 'mini_cal',data_calendar( '', '' ) ); +$gBitSmarty->assign( 'mini_cal',data_calendar( '', empty($moduleParams['module_params']) ? NULL : $moduleParams['module_params'] ) ); ?>
\ No newline at end of file |
