In includes/address_select.inc there are curly brackets missing, which are needed to support table prefixes (See http://api.drupal.org/api/drupal/includes%21database.inc/function/db_pre... ).
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | table_prefixing-1545328-2.patch | 1.48 KB | valderama |
Comments
Comment #1
valderama commentedComment #3
megachrizThanks for catching! I hope to review/test your patch later this week. Quick glance at your code it seems to me it's correcting the bug correctly.
Comment #4
megachrizI've tested your patch. It adds more curly brackets then needed, which will result into errors when you have more than one extra field.
I've changed your patch a little, so only "real" table names are surrounded by curly brackets (the other "table" names are aliases used in the query and shouldn't receive the brackets).
A fix is committed.
Thanks again for reporting.