Skip to content

Commit

Permalink
Sanitize displayPublishPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
brendo committed Feb 17, 2010
1 parent ccf7592 commit 257a333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/field.referencelink.php
Expand Up @@ -144,7 +144,7 @@ public function displayPublishPanel(&$wrapper, $data=NULL, $flagWithError=NULL,
foreach($states as $s){
$group = array('label' => $s['name'], 'options' => array());
foreach($s['values'] as $id => $v){
$group['options'][] = array($id, in_array($id, $entry_ids), $v);
$group['options'][] = array($id, in_array($id, $entry_ids), General::sanitize($v));
}
$options[] = $group;
}
Expand Down

0 comments on commit 257a333

Please sign in to comment.