Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2010 at 17:03 UTC
Updated:
5 Apr 2011 at 22:01 UTC
module_builder_get_templates() returns templates for requested hooks, even if there is no data for those hooks.
In other words, if you request nodeapi as a hook, then because the common templates have that hook, you get the code for it, even though the hook data doesn't have this.
This is probably best fixed by making templates version-specific....
Comments
Comment #1
joachim commentedThis I fixed in passing in my big changes at #1096828: make templates version-specific..