Merge branch 'master' of git@github.com:johnbintz/comicpress-2.8

This commit is contained in:
Philip M. Hofer (Frumph) 2009-10-21 18:50:09 -07:00
commit 72a5c5026f
1 changed files with 3 additions and 3 deletions

View File

@ -75,9 +75,9 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
case 'previous':
case 'story_prev':
case 'story_next':
$link = get_permalink($target);
case 'next':
if ($instance['nextgohome'] == 'on') { $link = get_bloginfo('url'); }
$link = get_permalink($target->ID);
if (($which == 'next') && ($instance['nextgohome'] == 'on')) { $link = get_bloginfo('url'); }
if ($ok) {
?><a href="<?php echo $link; ?>"
class="navi navi-<?php echo $which ; ?>"