Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

Commit

Permalink
Fixed a bug where display label was not being calculated correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Jan 30, 2011
1 parent cac4888 commit a56d767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/fieldtypes/ff_select/ft.ff_select.php
Expand Up @@ -197,7 +197,7 @@ private function find_label($field_data, $options)
{
return $sublabel;
}
else if ($field_data === $name)
else if ($field_data === (string)$name)
{
return $label;
}
Expand Down

0 comments on commit a56d767

Please sign in to comment.