When user goes to address edit page blank inputs appears there.
Here is a patch for this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_for_edit_page.patch | 412 bytes | gsemko |
When user goes to address edit page blank inputs appears there.
Here is a patch for this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_for_edit_page.patch | 412 bytes | gsemko |
Comments
Comment #1
freixas commentedThe 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.