Closed (fixed)
Project:
UC Gift Certificate
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Aug 2009 at 21:02 UTC
Updated:
12 Sep 2009 at 07:10 UTC
RC6 appears to have changed the format of the attributes array which is causing the certificate not to be created and throwing an error about the e-mail address not being valid.
Comments
Comment #1
jrust commentedFixed in CVS. Note that this breaks backward compatibility with old version of ubercart (i.e. ucbercart 2.0-rc6 or higher is required)
Comment #2
torgospizzaCrap. That's going to affect some other stuff I'm doing. Can you post a quick example?
Comment #3
jrust commentedYeah, basically the attributes array is one level deeper now. So, instead of
$data['attributes']["Recipient's Email Address"]It's now
$data['attributes']["Recipient's Email Address"][0]Comment #4
torgospizzaOh okay, that's not so bad. (Phew.) Thanks!