PostgresQL 8.3 no longer performs automatic typecasts to (text), which a statement in image_gallery_access.module fail because it compares acl_iga.name =t.tid where t.tid is an integer comming from: $primary_table.tid.

The attached patch fixes this by adding '' around $primary_table.tid to indicate it is supposed to be a string. I don't think this should break anything else as it should only be a more correct SQL syntax.

CommentFileSizeAuthor
image_gallery_access.module.patch1.03 KBgathond

Comments

salvis’s picture

Status: Needs review » Fixed

Committed to 5.x-1.x-dev.

Thank you!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.