Needs review
Project:
Annotated Bibliography
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Reporter:
Created:
30 Sep 2009 at 14:36 UTC
Updated:
10 Oct 2009 at 14:32 UTC
Jump to comment: Most recent
The annotated_biblio_is_enabled($type_name) function does not work. Here is a correct version:
function annotated_biblio_is_enabled($type_name) {
$val = variable_get("annotated_biblio_types", array());
return array_key_exists($type_name, $val) ? 1 : 0;
}
Comments
Comment #1
Anonymous (not verified) commentedThanks for catching that! I'll be looking into that in the next few days.
Comment #2
Anonymous (not verified) commentedThis is corrected in v1.3 of annotated_biblio.module
As I was developing the module, I switched from having the enable setting on the node type pages to a central admin page. This function got missed when that change happened.
Thanks again!