From 52e73183c2d3723c12a0a711d604f9f42f8e7b2b Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Fri, 11 Mar 2011 10:17:01 +0000 Subject: Fixed last commit, form helper will work fine for self-submissions and normal URLs. --- system/helpers/form_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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 = '