From 08270924a5ce1af73596b8af0091a419de6d4460 Mon Sep 17 00:00:00 2001 From: emc3 Date: Thu, 14 Aug 2003 16:23:42 +0000 Subject: [PATCH] Added check for empty results when using 'Next' button in 'Show posts' area git-svn-id: http://svn.automattic.com/wordpress/trunk@311 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.showposts.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wp-admin/b2edit.showposts.php b/wp-admin/b2edit.showposts.php index 3f7056d96..1be1bebc1 100644 --- a/wp-admin/b2edit.showposts.php +++ b/wp-admin/b2edit.showposts.php @@ -225,6 +225,7 @@ if ($i == "ASC") // these lines are b2's "motor", do not alter nor remove them include($abspath.'blog.header.php'); + if ($posts) { foreach ($posts as $post) { $posts_per_page = 10; start_b2(); ?> @@ -315,6 +316,17 @@ if ($i == "ASC") +

+ No results found. +

+ +