From 5c1bc9d2ec9c50710251083355254832097635a0 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 18 Jun 2008 14:08:37 +0000 Subject: Interface tweak when no results are found. git-svn-id: https://code.elgg.org/elgg/trunk@966 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/pagination.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/default') diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php index c946544ae..b96ce32d1 100644 --- a/views/default/navigation/pagination.php +++ b/views/default/navigation/pagination.php @@ -41,7 +41,11 @@ if ($count == 0) { - echo elgg_echo("notfound"); + static $notfounddisplayed; + if (!isset($notfounddisplayed)) { + echo elgg_echo("notfound"); + $notfounddisplayed = true; + } } -- cgit v1.2.3