Closed (fixed)
Project:
Ubercart Addresses
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Oct 2008 at 21:10 UTC
Updated:
23 Nov 2008 at 18:51 UTC
The query in the function _uc_addresses_db_check_address that checks if there is already a label with the same name does not query by uid. Thus, if any user has an address with the same label, then the error is output that says the label is already used. I believe this query should be limited by uid.
Comments
Comment #1
freixas commentedWell, that was sloppy of me. :-(
I changed the code from
to
I'll check this in as soon as I have time to test it. Thanks for catching this!
Comment #2
freixas commentedI finally had time to test the fix. It seems to work.
So where is the fixed code? It's checked in to the DRUPAL--5 branch. I continue to be a bit confused about how the Drupal CVS tags and branches work, and I'll wait a day to see if a 5.x-2.x-dev release is automatically generated.