aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index dae53daa9..8e7d8283e 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -264,7 +264,7 @@
$html = "";
- $nav = elgg_view('navigation/pagination',array(
+ $html .= elgg_view('navigation/pagination',array(
'baseurl' => $_SERVER['REQUEST_URI'],
'offset' => $offset,
@@ -280,7 +280,8 @@
}
}
- $html .= $nav;
+ if ($count)
+ $html .= $nav;
return $html;