Extra blank tab in admin/reports/browscap interface and/or php notice from hook_menu

Emmental - July 25, 2009 - 13:35
Project:Browscap
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

In the admin/reports/browscap interface are 3 tabs named "All user agents", "Browsers" and "Crawlers". To the right of "Crawlers" is an additional blank tab which points to admin/reports/browscap/useragent/

#1

greggles - September 16, 2009 - 22:32
Title:Extra blank tab in admin/reports/browscap interface» Extra blank tab in admin/reports/browscap interface and/or php notice from hook_menu

I do get an error message:

notice: Undefined offset: 4 in /var/www/d6/includes/menu.inc on line 576.

But I don't see a blank tab. That callback is defined so you can have pages like example.com/admin/reports/browscap/useragent/Firefox%2B3.5

#2

greggles - September 17, 2009 - 17:01
Priority:minor» normal

Now I see it! The garland theme hides the tab when it doesn't have any content in the link but it's still in the HTML as:

<li ><a href="/admin/reports/browscap/useragent/"></a></li>

Bummer.

#3

greggles - September 30, 2009 - 17:22
Status:active» fixed

Now fixed in 6.x http://drupal.org/cvs?commit=269648 and 5.x http://drupal.org/cvs?commit=269652

#4

System Message - October 14, 2009 - 17:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.