diff --git a/classes/em-category-taxonomy.php b/classes/em-category-taxonomy.php index 4310041..290c2e8 100755 --- a/classes/em-category-taxonomy.php +++ b/classes/em-category-taxonomy.php @@ -136,7 +136,7 @@ function start_el( &$output, $object, $depth = 0, $args = array(), $current_obje $pad = str_repeat(' ', $depth * 3); $cat_name = $object->name; $name = !empty($args['name']) ? $args['name']:'event_categories[]'; - $output .= !empty($args['before']) ? $args['after']:''; + $output .= !empty($args['before']) ? $args['before']:''; $output .= $pad."term_id."\""; if ( (is_array($args['selected']) && in_array($object->term_id, $args['selected'])) || ($object->term_id == $args['selected']) ) $output .= ' checked="checked"'; @@ -167,4 +167,4 @@ function start_el( &$output, $object, $depth = 0, $args = array(), $current_obje $output .= $pad.$cat_name; $output .= "\n"; } -} \ No newline at end of file +}