projects
/
project/fivestar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d8d5c08
)
Issue #1277216 by ericduran: Fixed Notice: Undefined index: stars in fivestar_field_p...
author
Eric J. Duran
Tue, 13 Sep 2011 03:20:07 +0000 (23:20 -0400)
committer
Eric J. Duran
Tue, 13 Sep 2011 03:20:07 +0000 (23:20 -0400)
includes/fivestar.field.inc
patch
|
blob
|
blame
|
history
diff --git
a/includes/fivestar.field.inc
b/includes/fivestar.field.inc
index
33a1cc0
..
d4006c9
100644
(file)
--- a/
includes/fivestar.field.inc
+++ b/
includes/fivestar.field.inc
@@
-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) {