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

Anonymous’s picture

Assigned: Unassigned »

Thanks for catching that! I'll be looking into that in the next few days.

Anonymous’s picture

This 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!