fix option check

This commit is contained in:
John Bintz 2009-11-09 22:55:26 -05:00
parent 1ec4d79ed0
commit 4283f066da
1 changed files with 1 additions and 1 deletions

View File

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