diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-03-11 11:17:01 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-03-11 11:17:01 +0100 |
commit | 52e73183c2d3723c12a0a711d604f9f42f8e7b2b (patch) | |
tree | a4e8e93d1b264d99761b9965a182cf46031cc778 /system/helpers | |
parent | 65f6ad4aadd208f3c27d3064508a5eac3fa52fc6 (diff) |
Fixed last commit, form helper will work fine for self-submissions and normal URLs.
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/form_helper.php | 2 |
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.'"'; |