summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/form_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 8ed520f5d..532309794 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -51,7 +51,7 @@ if ( ! function_exists('form_open'))
if ($action && strpos($action, '://') === FALSE)
{
- $CI->config->site_url($action);
+ $action = $CI->config->site_url($action);
}
$form = '<form action="'.$action.'"';