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 |
Jump to:
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
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
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
Now fixed in 6.x http://drupal.org/cvs?commit=269648 and 5.x http://drupal.org/cvs?commit=269652
#4
Automatically closed -- issue fixed for 2 weeks with no activity.