I just downloaded it, when i tried to enable it, i got this error:
Parse error: syntax error, unexpected '}' in /.../content_taxonomy/content_taxonomy.module on line 119
I just downloaded it, when i tried to enable it, i got this error:
Parse error: syntax error, unexpected '}' in /.../content_taxonomy/content_taxonomy.module on line 119
Comments
Comment #1
jvalletto commentedSimple enough to fix.
On line 118 find ( minus <? php ?> tags of course):
$additions[$field['field_name']][$field['tid']] = content_taxonomy_terms_by_field($node, $field['vid'], $field['tid'], $field['depth'])And add a
;after$field['depth']).Or you can copy that entire line and replace it with ( minus <? php ?> tags of course):
$additions[$field['field_name']][$field['tid']] = content_taxonomy_terms_by_field($node, $field['vid'], $field['tid'], $field['depth']);Should work just fine.
Comment #2
mh86 commentedsorry for this syntax error!
I fixed and committed it!
Thanks for your help
Comment #3
hectorplus commentedThank you. I got it working now. I just had to ad ";" as instructed above.
Comment #4
(not verified) commented