diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 14:08:37 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 14:08:37 +0000 |
commit | 5c1bc9d2ec9c50710251083355254832097635a0 (patch) | |
tree | fe355ac1599c3ba47a09244fe069af3378cf8274 /engine/lib/elgglib.php | |
parent | a7a16719d08a20a287d389831a7a7d3c65135a53 (diff) | |
download | elgg-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 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 5 |
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;
|