Commit 39821e50 authored by webchick's avatar webchick
Browse files

#682766 by Dave Reid: Fixed Admin category block titles not linked on /admin page.

parent e2c4af81
......@@ -50,12 +50,8 @@ function system_main_admin_page($arg = NULL) {
// Only show blocks for items which are not containers, or those which
// are containers and do have items we can show.
$block['show'] = TRUE;
if (empty($content)) {
// If no items found below, but access checks did not fail, show.
$block['title'] = l($item['title'], $item['href'], $item['localized_options']);
else {
// Theme items below.
$block['title'] = l($item['title'], $item['href'], $item['localized_options']);
if (!empty($content)) {
$block['content'] .= theme('admin_block_content', array('content' => $content));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment