Closed (fixed)
Project:
Share
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2009 at 11:07 UTC
Updated:
17 Feb 2009 at 16:20 UTC
This line in hook_menu:
if (is_numeric($share_id = arg(3))) {
loads a bunch of menu items in a lot of cases (if the site happens to have views set up with a numeric argument, etc etc).
Be more selective, like this in taxonomy.module:
if (arg(0) == 'admin' && arg(1) == 'content' && arg(2) == 'taxonomy' && is_numeric(arg(3))) {
Comments
Comment #1
greenskin commentedThe If statement in question has been moved up inside of similar statement that is more selective. Not sure how this slipped by me and got outside of the statement.