archive-comic-calendar.php fix, $comicpress_options was named something else when getting the calendar_directory

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-22 23:12:06 -08:00
parent 5ef1e94826
commit 10471a2d7e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ foreach ( $years as $year ) {
</div>
<div class="cpcal-cals">
<?php $i=1; while($i<=12) {
$calendar_directory = $comicpress_calendar['calendar_directory'];
$calendar_directory = $comicpress_options['calendar_directory'];
if (!empty($calendar_directory) && $calendar_directory != 'none') { ?>
<div class="cpcal-month" style="height: 257px;" id="<?php echo $month[$i]['month'] ?>">
<?php if (file_exists(get_stylesheet_directory() . '/images/cal') && $calendar_directory != 'default') { ?>