Show
Ignore:
Timestamp:
07/08/09 02:35:59 (3 years ago)
Author:
john
Message:

bug fixes / updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers/form_options_helper.php

    r308 r316  
    202202    function to_select_tag($choices, $options, $html_options) { 
    203203        $html_options = $this->add_default_name_and_id($html_options); 
    204         $value = $this->value(); 
     204        $value = isset($options['selected']) ? $options['selected'] : $this->value(); 
    205205        return $this->error_wrapping( 
    206206            $this->content_tag(