diff --git a/includes/theme.inc b/includes/theme.inc index c1bc54339047..c7f58585344b 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -839,7 +839,7 @@ function theme_item_list($items = array(), $title = NULL, $type = 'ul') { $output .= '

'. $title .'

'; } - if (isset($items)) { + if (!empty($items)) { $output .= "<$type>"; foreach ($items as $item) { $output .= '
  • '. $item .'
  • ';