Active
Project:
Ubercart Google Merchant Integration
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2010 at 13:57 UTC
Updated:
2 May 2013 at 15:06 UTC
One thing I've discovered is that the 'cash' payment method is always selected for the module. This is a result of the way Drupal saves checkbox arrays - if the value matches the index, then the box is checked, and if the value is zero, the box is not checaked. The problem here however is that the index for the 'cash' checkbox zero, so whether it's checked or not, the value is zero, and since the value matches the key, Drupal checks the box.
To fix this will require changing the key for the cash checkbox to something else - maybe 'cash'! That would solve the problem right away.
Comments
Comment #1
compujohnny commentedFixed
Comment #2
niklaz commentedIt seems this issue with "cash" payment method is still present. It is always checked. Maybe setting associative array would solve this issue.
Does anyone else experience this?