Development

Changeset 6374

You must first sign up to be able to contribute.

Changeset 6374

Show
Ignore:
Timestamp:
12/07/07 19:53:02 (1 year ago)
Author:
fabien
Message:

fixed country and language tag helpers inserting non-html options in <select> tag (closes #1531)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/helper/FormHelper.php

    r6014 r6374  
    229229 
    230230  $option_tags = options_for_select($countries, $selected, $options); 
     231  unset($options['include_blank'], $options['include_custom']); 
    231232 
    232233  return select_tag($name, $option_tags, $options); 
     
    276277 
    277278  $option_tags = options_for_select($languages, $selected, $options); 
     279  unset($options['include_blank'], $options['include_custom']); 
    278280 
    279281  return select_tag($name, $option_tags, $options);