Posted by gsemko on August 12, 2009 at 4:16pm
Jump to:
| Project: | Ubercart Addresses |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When user goes to address edit page blank inputs appears there.
Here is a patch for this issue.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| fix_for_edit_page.patch | 412 bytes | Ignored: Check issue status. | None | None |
Comments
#1
The patch changes
if ($aid)toif (!is_null($aid)). The only significant difference between the two is that is that the former excludes $aid = 0 and the latter allows it.I don't have enough information to reproduce the problem (and have not seen it), but I did add a special check for $aid === 0. The uc_addresses_db_get_address() function now returns immediately with FALSE in this case.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.