Closed (fixed)
Project:
Andreas02
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Mar 2008 at 18:57 UTC
Updated:
22 Mar 2008 at 17:46 UTC
The function andreas02_print_terms() in the template.php file uses the Drupal 5 API call to taxonomy_node_get_terms_by_vocabulary($nid, $vocabulary->vid)
In Drupal 6, the API changed so that instead of passing the Node ID ($nid) you pass the Node objects itself.
Easy fix: change node.tpl.php to call andreas02_print_terms($node), and change the function accordingly.
Comments
Comment #1
nickbits commentedChanges made. Thank you for pointing this out, very much appreciated.
Comment #2
nickbits commented