Active
Project:
FLV Media Player
Version:
5.x-1.0-alpha2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2008 at 05:03 UTC
Updated:
18 Aug 2008 at 05:03 UTC
These lines in hook_menu, does net set value for 'type' key, and menu system generates an empty link in navigation:
$items[] = array (
'path' => 'flvmediaplayer',
'callback' => 'flvmediaplayer_config_xml_page',
'callback arguments' => array(arg(1)),
'access' => user_access('content'),
);
It should be changed to:
$items[] = array (
'path' => 'flvmediaplayer',
'callback' => 'flvmediaplayer_config_xml_page',
'callback arguments' => array(arg(1)),
'access' => user_access('content'),
'type' => MENU_CALLBACK
);