Closed (fixed)
Project:
Taxonomy Theme
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2006 at 18:09 UTC
Updated:
6 Apr 2006 at 19:16 UTC
If you have forum disabled, you get this message:
Fatal error: Unknown function: _forum_get_vid() in /home/cb/htdocs/sites/corporateblogging.bryght.com/modules/taxonomy_theme/taxonomy_theme.module on line 92
You need to wrap the check for _forum_get_vid() with a call to module_exist (http://drupaldocs.org/api/head/function/module_exist).
Comments
Comment #1
profix898 commentedSeems like I introduced this bug with my latest update. Use
$forum_vid = variable_get('forum_nav_vocabulary', '');instead of
$forum_vid = _forum_get_vid();since all underscore functions should not be used in other modules.
Fix for all versions (4.6, 4.7 and HEAD) committed. It will be available shortly.
Thanks for reporting :)
Comment #2
(not verified) commented