Skip to content

Commit

Permalink
Don't sanitize the value before creating a handle when grouping on th…
Browse files Browse the repository at this point in the history
…e Input field. Fixes #741
  • Loading branch information
brendo committed Aug 18, 2011
1 parent 2415f56 commit c0f1610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphony/lib/toolkit/fields/field.input.php
Expand Up @@ -301,7 +301,7 @@ public function groupRecords($records){
$data = $r->getData($this->get('id'));

$value = General::sanitize($data['value']);
$handle = Lang::createHandle($value);
$handle = Lang::createHandle($data['value']);

if(!isset($groups[$this->get('element_name')][$handle])){
$groups[$this->get('element_name')][$handle] = array(
Expand Down

0 comments on commit c0f1610

Please sign in to comment.