summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index c1bc54339..c7f585853 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -839,7 +839,7 @@ function theme_item_list($items = array(), $title = NULL, $type = 'ul') {
$output .= '<h3>'. $title .'</h3>';
}
- if (isset($items)) {
+ if (!empty($items)) {
$output .= "<$type>";
foreach ($items as $item) {
$output .= '<li>'. $item .'</li>';