Commits

Phil Sturgeon  committed e6dd831

Fixed last commit, form helper will work fine for self-submissions and normal URLs.

  • Participants
  • Parent commits 020fdac

Comments (0)

Files changed (1)

File system/helpers/form_helper.php

 
 		if ($action && strpos($action, '://') === FALSE)
 		{
-			$CI->config->site_url($action);
+			$action = $CI->config->site_url($action);
 		}
 
 		$form = '<form action="'.$action.'"';