commit 15d3879669e86e74a2c8decb70028299cb230a77 Author: gnuget Date: Tue Apr 30 17:49:29 2013 -0500 1898434-59 diff --git a/core/modules/options/options.api.php b/core/modules/options/options.api.php index 0cba438..43c4d21 100644 --- a/core/modules/options/options.api.php +++ b/core/modules/options/options.api.php @@ -94,7 +94,7 @@ function hook_options_list($field, $instance, $entity) { */ function hook_options_list_alter(&$options, $context) { // Check if is the field where want be changed the label of the _none option - if ($field->id == 'field_option') { + if ($context['field']->id == 'field_option') { // Change the label of the _none option $options['_none'] = t('== Empty =='); }