Issue #1277216 by ericduran: Fixed Notice: Undefined index: stars in fivestar_field_p...
authorEric J. Duran
Tue, 13 Sep 2011 03:20:07 +0000 (23:20 -0400)
committerEric J. Duran
Tue, 13 Sep 2011 03:20:07 +0000 (23:20 -0400)
includes/fivestar.field.inc

index 33a1cc0..d4006c9 100644 (file)
@@ -81,13 +81,6 @@ function fivestar_field_instance_settings_form($field, $instance) {
 }
 
 /**
- * Implementation of hook_field_presave().
- */
-function fivestar_field_presave($obj_type, $object, $field, $instance, $langcode, &$items) {
-  $items[0]['stars'] = $instance['settings']['stars'];
-}
-
-/**
  * Implementation of hook_field_insert().
  */
 function fivestar_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {