artfulrobot / uk.artfulrobot.civicrm.gocardless

A CiviCRM extension providing GoCardless integration to handle UK Direct Debits.
GNU Affero General Public License v3.0
5 stars 18 forks source link

Fix for issue 45 #46

Closed artfulrobot closed 5 years ago

artfulrobot commented 5 years ago

Assumed input params to be strings and comparing with == but the membership forms include nested arrays with numeric keys. Since 'some string' evaluates to 0, 0 == 'some string' and the first string tested was first name, so that got clobbered. Using === instead has solved this.