I have a problem similar to detailed on http://drupal.org/node/1265386

I have my website with 'es' translations, but it seems drupal does not translates the taxonomy_forums (it has 'und' in the array), but code searches for 'und' (place is file hansel_forum.module:75)

if (isset($node->taxonomy_forums) && isset($node->taxonomy_forums[$node->language])) { ...

Should the code look for any of [$node->language], OR ['und'] ?

CommentFileSizeAuthor
#1 hansel-1345908.patch1.09 KBAnonymous (not verified)

Comments

Anonymous’s picture

Title: Problem with forum with 'un' taxonomy field » Problem with forum with 'und' taxonomy field
StatusFileSize
new1.09 KB

Here is the patch that fixed the problem on my setup

Anonymous’s picture

Status: Active » Needs review
Anonymous’s picture

mauritsl’s picture

Status: Needs review » Fixed

Commited to GIT. Thanks!

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

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