aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/edit.php2
-rw-r--r--views/default/page_elements/owner_block.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index b4cdd42f6..720885b7c 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -36,6 +36,8 @@
$area2 = elgg_echo("profile:noaccess");
}
+
+ $area1 = "";
// get the required canvas area
$body = elgg_view_layout("two_column_left_sidebar", $area1, $area2);
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index 35c39f557..a0020472e 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -82,7 +82,7 @@ END;
// Have we been asked to inject any content? If so, display it
if (isset($vars['content']))
- $contets .= $vars['content'];
+ $contents .= $vars['content'];
// Initialise the submenu
$submenu = get_submenu(); // elgg_view('canvas_header/submenu');