Within the blog.module there is one field, type, in a single query that is missing the n table alias.
This came up for me because I join to the location table in db_rewrite_sql(). Without the n.type table alias in the blog.module, my query fails because the field type between location module and the node is ambiguous. A simple patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | blog_missing_table_alias_HEAD.patch | 1.01 KB | stevenpatz |
| blog-missing-table-alias.patch | 964 bytes | scott.mclewin |
Comments
Comment #1
stevenpatzConfirmed still in head.
Comment #2
stevenpatzAnd the patch.
Comment #3
Zen commentedLooks good.
-K
Comment #4
dries commentedThanks guys. I've committed this to CVS HEAD and DRUPAL-5.
Comment #5
(not verified) commented