When loading a wsfield with a number value which is blank, it doesn't properly set an empty value which hook_field_is_empty() can act on.

Warning: number_format() expects parameter 1 to be double, string given in number_field_formatter_view() (line 294 of /var/www/html/drupal/modules/field/modules/number/number.module).

Comments

minoroffense’s picture

Status: Active » Needs review

Added is empty handling into language branch. Requires the language data in the field to be present for the fix to work.