Changeset 2885 for trunk/system/helpers/form.php
- Timestamp:
- 06/23/2008 08:35:18 PM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/helpers/form.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/helpers/form.php
r2751 r2885 20 20 * @return string 21 21 */ 22 public static function open($action = '', $attr = array(), $hidden = NULL)22 public static function open($action = NULL, $attr = array(), $hidden = NULL) 23 23 { 24 24 // Make sure that the method is always set … … 31 31 } 32 32 33 if ( empty($action) OR ! is_string($action))33 if ($action === NULL) 34 34 { 35 35 // Use the current URL as the default action 36 $action = url::site(Router::$c urrent_uri);36 $action = url::site(Router::$complete_uri); 37 37 } 38 38 elseif (strpos($action, '://') === FALSE)
