? glossary.patch Index: glossary.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/glossary/glossary.module,v retrieving revision 1.100.2.20.2.42 diff -u -p -r1.100.2.20.2.42 glossary.module --- glossary.module 6 Jun 2008 21:19:38 -0000 1.100.2.20.2.42 +++ glossary.module 24 Jun 2008 14:16:28 -0000 @@ -234,7 +234,7 @@ function glossary_menu() { $result = db_query('SELECT format, name FROM {filter_formats}'); while ($filter = db_fetch_array($result)) { $format = $filter['format']; - $enabled = db_result(db_query("SELECT COUNT(delta) FROM {filters} WHERE format=%d AND module='glossary'", format)); + $enabled = db_result(db_query("SELECT COUNT(delta) FROM {filters} WHERE format=%d AND module='glossary'", $format)); if ($enabled || !variable_get('glossary_hide_menus', false)) { $name = $filter['name']; $items['admin/settings/glossary/filter/'. $format] = array( @@ -1114,4 +1114,4 @@ function _alphabar_instruction_default() else { return t('Click one of the letters above to advance the page to terms beginning with that letter.'); } -} \ No newline at end of file +}