aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-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;
+ }
}