diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-10-01 16:08:03 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-10-01 16:08:03 +0000 |
| commit | 93de57dff06121af9efa89c624f4257b587cdb82 (patch) | |
| tree | b20d36820a11d5801d4e0c103c4e03c0333b4d03 | |
| parent | 8f84b43999a1b3f6c9f35de9c57667f67f9adf0b (diff) | |
| download | calendar-93de57dff06121af9efa89c624f4257b587cdb82.tar.gz calendar-93de57dff06121af9efa89c624f4257b587cdb82.tar.bz2 calendar-93de57dff06121af9efa89c624f4257b587cdb82.zip | |
Fix mincal so it works even when data.calendar plugin is off.
| -rw-r--r-- | modules/mod_minical.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mod_minical.php b/modules/mod_minical.php index a77ae96..ea92e8e 100644 --- a/modules/mod_minical.php +++ b/modules/mod_minical.php @@ -1,5 +1,7 @@ <?php global $gBitSmarty; -$gBitSmarty->assign('mini_cal',data_calendar('','')); +// 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( '', '' ) ); ?>
\ No newline at end of file |
