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.

Comments

stevenpatz’s picture

Version: 4.7.x-dev » 6.x-dev

Confirmed still in head.

stevenpatz’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

And the patch.

Zen’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

-K

dries’s picture

Status: Reviewed & tested by the community » Fixed

Thanks guys. I've committed this to CVS HEAD and DRUPAL-5.

Anonymous’s picture

Status: Fixed » Closed (fixed)