From 7c4678cd60503952da224d6587ea5f8d28d6e72c Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 6 Oct 2009 14:42:39 -0300 Subject: Fixing coding style --- finder_menu.module | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) (limited to 'finder_menu.module') diff --git a/finder_menu.module b/finder_menu.module index d3d6a5a..5e9b627 100644 --- a/finder_menu.module +++ b/finder_menu.module @@ -1,6 +1,12 @@ '; $output .= finder_menu_build($menu); $output .= ''; drupal_add_js(drupal_get_path('module', 'finder_menu') .'/finder_menu.js'); - + return $output; } @@ -124,14 +130,15 @@ function theme_finder_menu($menu_name, $mlid) { */ function finder_menu_build($menu) { - global $finder_menu_id; + global $_finder_menu_id; - if ($finder_menu_id == null) { + if ($_finder_menu_id == NULL) { $output = '