Little typo error on forum module that produces a notice.

CommentFileSizeAuthor
forum_variable_undefined_a.patch988 bytestheborg

Comments

dropcube’s picture

Status: Needs review » Reviewed & tested by the community

The notice is reported in the Forums page.

notice: Use of undefined constant tid - assumed 'tid' in \modules\forum\forum.module on line 677.

tid is not quoted in $variables[tid].

The patch fixes this correctly, adding the required quotes, so it's RTBC.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Once again, good catch, theborg. Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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