Download & Extend

Invalid function call found in hs_content_taxonomy_views.module

Project:Hierarchical Select
Version:5.x-3.0-rc7
Component:Code - Content Taxonomy Views
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

After fixing line 89 as instructed (http://drupal.org/node/350806), I got an error message about an invalid function on line 390 of the same module. Searched around for the function and found what I think is a type. Changed line 390:

<?php
   
return count(_taxonomy_hierarchical_select_get_tree($params['vid'], 0, -1, $params['depth']));
?>

To say:

<?php
   
return count(_hs_taxonomy_hierarchical_select_get_tree($params['vid'], 0, -1, $params['depth']));
?>

That is, the function name needed to be preceded by "_hs". Once I fixed that, no error message. Just wanted to pass that on. Thanks again to Wim Leers for the module and to sdsheridan for the fix.

Comments

#1

Title:invalid function call found in hs_content_taxonomy_views.module» Invalid function call found in hs_content_taxonomy_views.module
Status:active» fixed

Thanks! Committed :)

http://drupal.org/cvs?commit=179986

#2

Status:fixed» closed (fixed)

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