Hi there!
I just noticed, that coupons generated based on an invite with successfull buy always have the creation-date 01.01.1970 (Unix-timestamp 0).
Not a big issue to me, but would be nice to have the right date ;)
Hi there!
I just noticed, that coupons generated based on an invite with successfull buy always have the creation-date 01.01.1970 (Unix-timestamp 0).
Not a big issue to me, but would be nice to have the right date ;)
Comments
Comment #1
v8comp commentedThere is a fix for this included in my patch here: http://drupal.org/node/1121078#comment-6275002
Or just change the db_query line in the uc_invite_discount_order() function to add the 'created' field: