aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages')
-rw-r--r--mod/sitepages/sitepages_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php
index 3a6c10359..5e696e4c9 100644
--- a/mod/sitepages/sitepages_functions.php
+++ b/mod/sitepages/sitepages_functions.php
@@ -92,9 +92,9 @@ function sitepages_get_page_content($page_type) {
$sitepage = sitepages_get_sitepage_object($page_type);
if ($sitepage) {
- $body .= elgg_view('page/elements/content', array('body' => $sitepage->description));
+ $body .= $sitepage->description;
} else {
- $body .= elgg_view('page/elements/content', array('body' => elgg_echo('sitepages:notset')));
+ $body .= elgg_echo('sitepages:notset');
}
$content = elgg_view_layout('one_column_with_sidebar', array('content' => $body));