From 2d6e424b425c1d32b6223f0f3c6f869ef31b2e10 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Feb 2011 12:15:14 +0000 Subject: reverted part of [8148] that broke all forms git-svn-id: http://code.elgg.org/elgg/trunk@8151 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/default/input/form.php') diff --git a/views/default/input/form.php b/views/default/input/form.php index 5006dc5c8..c9f9aa97d 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -21,15 +21,15 @@ $vars = array_merge($defaults, $vars); $vars['action'] = elgg_normalize_url($vars['action']); $vars['method'] = strtolower($vars['method']); +$body = $vars['body']; +unset($vars['body']); + // Generate a security header if (!$vars['disable_security']) { $body .= elgg_view('input/securitytoken'); } unset($vars['disable_security']); -$body = $vars['body']; -unset($vars['body']); - $attributes = elgg_format_attributes($vars); echo "
$body
"; \ No newline at end of file -- cgit v1.2.3