commit | 52e73183c2d3723c12a0a711d604f9f42f8e7b2b | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Fri Mar 11 10:17:01 2011 +0000 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Fri Mar 11 10:17:01 2011 +0000 |
tree | a4e8e93d1b264d99761b9965a182cf46031cc778 | |
parent | 65f6ad4aadd208f3c27d3064508a5eac3fa52fc6 [diff] [blame] |
Fixed last commit, form helper will work fine for self-submissions and normal URLs.
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 8ed520f..5323097 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php
@@ -51,7 +51,7 @@ if ($action && strpos($action, '://') === FALSE) { - $CI->config->site_url($action); + $action = $CI->config->site_url($action); } $form = '<form action="'.$action.'"';