Patch (to be ported)
Project:
Node Terms in a Block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2010 at 19:14 UTC
Updated:
13 Jul 2010 at 22:28 UTC
Now I have tested the module a bit. I get the following error: (I use Norwegian language)
* Warning: implode (): Invalid argument Passed in / Hsphere / local / home / xxxxx / xxx.no / sites / all / modules / nodeterms / nodeterms.module on line 37
And I can only see the block if a node in a term is active. (Clicked on)
Comments
Comment #1
kurkuma commentedWell, that is due to the empty vocabularies (when the node has no terms for some of the existing vocabularies).
The patch is as follows:
Replace on line 36 this
if($node->taxonomy) {with this
if($node->taxonomy && !empty($vars)) {Comment #2
kurkuma commentedIt is about the empty vocabbularies, the ones from which the node has no terms.
The easy solution goes like this:
Replace this, on line 36:
if($node->taxonomy) {with this:
if($node->taxonomy && !empty($vars)) {