Closed (fixed)
Project:
e-Commerce
Component:
address.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2005 at 13:37 UTC
Updated:
12 Oct 2005 at 22:20 UTC
Administration users are unable to add new addresses to another users address book because the user id is taken from the global variable instead of the URL argument.
The attached patch makes use of code already in the address.module to work out which user id to use when redirecting after adding a new address, as well as injecting the user id in to the POST data before it is saved to the database.
| Comment | File | Size | Author |
|---|---|---|---|
| admin_add_address.patch | 467 bytes | budda |
Comments
Comment #1
matt westgate commentedPatch applied. Thanks!
Comment #2
(not verified) commentedComment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
ax commentedComment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commented