Skip to content

Commit

Permalink
Ensure proper matching for post ID's.
Browse files Browse the repository at this point in the history
Fixes #145
  • Loading branch information
Michael Sisk committed Sep 4, 2013
1 parent 1098707 commit 9949a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion -/php/tags.php
Expand Up @@ -192,7 +192,7 @@ public static function is_relative_webcomic( $relative = 'first', $in_same_term
return false;
}

return ( $post->ID === $the_post->ID );
return ( ( int ) $post->ID === ( int ) $the_post->ID );
}

/** Is the query for a Webcomic-recognized attachment?
Expand Down

0 comments on commit 9949a26

Please sign in to comment.