aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/input/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php
index f40d8ad8c..aed7a17bb 100644
--- a/views/default/input/form.php
+++ b/views/default/input/form.php
@@ -29,7 +29,7 @@ if (isset($vars['internalname'])) {
$name = '';
}
$body = $vars['body'];
-$action = $vars['action'];
+$action = elgg_normalize_url($vars['action']);
if (isset($vars['enctype'])) {
$enctype = $vars['enctype'];
} else {