Hi,

There are 2 queries in the forum_access.module file which uses "&&" instead of "AND" in the SQL syntax, apparently this works fine on MySQL but PostgreSQL won't chew it. So here's a patch which fixes that.

Note that I'm just assuming that "&&" is identical with "AND" here as far as MySQL is concerned.

CommentFileSizeAuthor
forum_access.module.patch1.21 KBeasyfit

Comments

salvis’s picture

Status: Active » Reviewed & tested by the community

Yes, this works fine. MySQL supports "&&" as a non-standard alias to "AND."

There are three instances of this query and merlinofchaos fixed one of them on February 11 (http://drupal.org/node/117246#comment-194974). This patch fixes the other two.

salvis’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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