'Usually' falls through to 'Sometimes'

ardee - February 18, 2007 - 22:36
Project:Voting
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The 'Usually' case for a new node sets $default = 1 but then falls through (no 'break') to the code for 'Sometimes' which overwrites it with $default = 0, thus making any new node have voting disabled by default.

 
 

Drupal is a registered trademark of Dries Buytaert.