diff --git a/includes/theme.inc b/includes/theme.inc index a70739e2b8..12118720fa 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1782,7 +1782,7 @@ function theme_links($variables) { global $language_url; $output = ''; - if (count($links) > 0) { + if (!empty($links)) { // Treat the heading first if it is present to prepend it to the // list of links. if (!empty($heading)) {