From ef1235cc0a97305216d8987e3bd8459d30cbe5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 30 Jan 2008 10:14:42 +0000 Subject: #207863 by mikey_p, Pancho: use module_load_include() as intended --- modules/forum/forum.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc index 2822e4a52..7bd3dd4a2 100644 --- a/modules/forum/forum.admin.inc +++ b/modules/forum/forum.admin.inc @@ -215,7 +215,7 @@ function forum_admin_settings() { * Returns an overview list of existing forums and containers */ function forum_overview(&$form_state) { - include_once(drupal_get_path('module', 'taxonomy') .'/taxonomy.admin.inc'); + module_load_include('inc', 'taxonomy', 'taxonomy.admin'); $vid = variable_get('forum_nav_vocabulary', ''); $vocabulary = taxonomy_vocabulary_load($vid); -- cgit v1.2.3