MENU_CALLBACK_ITEM used instead of MENU_CALLBACK
magic72 - July 23, 2009 - 14:30
| Project: | Drigg |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
In drigg_ui.module in hook_menu, the type MENU_CALLBACK_ITEM is used to identify callback item instead of MENU_CALLBACK wich is stipulated by drupal api. This is causing the bit value '0' to be sent to the menu build functions.
This does not seem to cause any other effect then making the menu item not visible in the breadcrumb (although I did not test this since I am not using breadcrumb, but this is what the code in menu.inc is indicating). However I submit this low prio bug report since this could become a problem in future releases of Drupal if the type parameter is more stictly enforced.
Not sure if this behaviour is repeated also in other drigg modules. Did not check.
