From 3bfa294985001c2c6ebb58fbf87b2f795e055ca5 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 11 Nov 2010 01:36:23 +0000 Subject: Fixes #2640 - elgg_view_layout now uses a parameter array like all the other elgg_view* functions git-svn-id: http://code.elgg.org/elgg/trunk@7288 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/account/forgotten_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/account/forgotten_password.php') diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php index 3fb629ef6..1906a889e 100644 --- a/pages/account/forgotten_password.php +++ b/pages/account/forgotten_password.php @@ -11,7 +11,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); if (!isloggedin()) { $area1 = elgg_view_title(elgg_echo("user:password:lost")); $area2 = elgg_view("account/forms/forgotten_password"); - $content = elgg_view_layout("one_column_with_sidebar", $area1 . $area2); + $content = elgg_view_layout("one_column_with_sidebar", array('content' => $area1 . $area2)); echo elgg_view_page(elgg_echo('user:password:lost'), $content); } else { forward(); -- cgit v1.2.3