Download & Extend

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

Project:Browscap
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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/

Comments

#1

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

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

Status:active» fixed

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

#4

Status:fixed» closed (fixed)

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

nobody click here