aboutsummaryrefslogtreecommitdiff
path: root/pages/friends/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/friends/index.php')
-rw-r--r--pages/friends/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php
index 84c0fa526..63518a413 100644
--- a/pages/friends/index.php
+++ b/pages/friends/index.php
@@ -2,8 +2,8 @@
/**
* Elgg friends page
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Social.Friends
*/
$owner = elgg_get_page_owner_entity();
@@ -22,6 +22,9 @@ $options = array(
'full_view' => FALSE
);
$content = elgg_list_entities_from_relationship($options);
+if (!$content) {
+ $content = elgg_echo('friends:none');
+}
$params = array(
'content' => $content,