Closed (fixed)
Project:
Legal
Version:
6.x-8.5
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2011 at 06:14 UTC
Updated:
6 Oct 2012 at 13:11 UTC
When a site visitor goes through the ubercart checkout process and has a new user account created for them, that user has automatically accepted the legal terms. They may login without accepting the terms.
FYI, this simple conditional action will remove the offending db record when the "Customer completes checkout" trigger is fired:
if ($account->login == 0) { // never logged in
db_query(" DELETE FROM {legal_accepted} WHERE uid = %d ", $account->uid);
}
Many thanks for everything,
James
Comments
Comment #1
robert castelo commentedCan you check the latest version, Legal 6.8.3, should have fixed this.
Comment #2
maxilein commentedHi,
that's not working in 6.8.4.
R, Max
Comment #3
maxilein commentedHi again,
back from testing I have to report that 6.x-8.2 is the last version working with accounts created by ubercart.
Please, fix this wonderful module since this also breaks the correct issuing of product keys.
Thank you!
Comment #4
robert castelo commentedmaxilein are you saying that it worked with Legal 6.x-8.2 but not with 6.x-8.4?
Comment #5
maxilein commentedexactly.
Comment #6
maxilein commentedThis definitely works in 6.x-8.5. BR