Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Line 61 of includes/commerce_registration.forms and line 172 of commerce_registration.module use an "isset" statement and should be using a !empty instead to make sure the array isn't empty. Otherwise the loop that follows tries to iterate over empty array contents and throws a PHP notice.
Comment | File | Size | Author |
---|---|---|---|
#1 | changetonotempty-2084973-1.patch | 1.33 KB | deggertsen |
Comments
Comment #1
deggertsen CreditAttribution: deggertsen commentedHere's a patch applied against dev. I agree with the logic above.
Comment #3
blacklabel_tom CreditAttribution: blacklabel_tom commentedThis has been merged into 7.x-2.x-dev