aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 14:08:37 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 14:08:37 +0000
commit5c1bc9d2ec9c50710251083355254832097635a0 (patch)
treefe355ac1599c3ba47a09244fe069af3378cf8274 /views/default/navigation
parenta7a16719d08a20a287d389831a7a7d3c65135a53 (diff)
downloadelgg-5c1bc9d2ec9c50710251083355254832097635a0.tar.gz
elgg-5c1bc9d2ec9c50710251083355254832097635a0.tar.bz2
Interface tweak when no results are found.
git-svn-id: https://code.elgg.org/elgg/trunk@966 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/pagination.php6
1 files changed, 5 insertions, 1 deletions
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;
+ }
}