diff --git a/post-finder.php b/post-finder.php index 50a938b..a64185a 100644 --- a/post-finder.php +++ b/post-finder.php @@ -295,7 +295,7 @@ public static function render( $name, $value, $options = array() ) {
- %d of %d maximum items', 'post_finder' ), intval( count( $posts ) ), intval( $options['limit'] ) ); ?> + %d of %d maximum items', 'post_finder' ), intval( empty( $posts ) ? 0 : count( $posts ) ), intval( $options['limit'] ) ); ?>