fix for FS#112

This commit is contained in:
John Bintz 2009-11-09 19:58:27 -05:00
parent 3215f66bd1
commit 262c743481
1 changed files with 7 additions and 5 deletions

View File

@ -243,7 +243,9 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget {
$post_nav = $navigation->get_post_nav($post); $post_nav = $navigation->get_post_nav($post);
if ($instance['story_prev_acts_as_prev_in']) { if ($instance['story_prev_acts_as_prev_in']) {
$post_nav['storyline-chapter-previous'] = $post_nav['storyline-previous']; if ($post_nav['storyline-previous'] !== false) {
$post_nav['storyline-chapter-previous'] = $post_nav['storyline-previous'];
}
} }
$storyline_to_nav_mapping = array( $storyline_to_nav_mapping = array(