From fccc5b915844675041e89cb367623cd9ee6904af Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 15 Aug 2008 10:02:11 +0000 Subject: Refs #249 git-svn-id: https://code.elgg.org/elgg/trunk@1928 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/edit.php | 2 ++ views/default/page_elements/owner_block.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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'); -- cgit v1.2.3