fivestar_field.inc line 193.

'#default_value' => $widget['allow_clear'] ? $widget['allow_clear'] : 1,

will always reset this form element to true. It should be something like

'#default_value' => ($widget['allow_clear'] == 0) ? $widget['allow_clear'] : 1,

or perhaps

'#default_value' => $widget['allow_clear'] ? $widget['allow_clear'] : 0,
CommentFileSizeAuthor
#1 fivestar_allow_clear.patch714 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Active » Fixed
FileSize
714 bytes

I've committed the attached patch to fix this.

jenlampton’s picture

Thanks :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.