You are here

function fivestar_field_is_empty in Fivestar 7.2

Implements hook_field_is_empty().

File

includes/fivestar.field.inc, line 218
Provides CCK integration for fivestar module.

Code

function fivestar_field_is_empty($item, $field) {
  return empty($item['rating']) || $item['rating'] == '-';
}