MantisBT: master 321ac71d

Author Committer Branch Timestamp Parent
Alexander Menk dhx master 2010-01-20 07:02 master 8bc6b668
Affected Issues  0011417: EVENT_MENU_* does not allow to return null
Changeset

Fix 0011417: Allow EVENT_MENU_MAIN plugin events to return null

A plugin may decide not to print a menu entry via the EVENT_MENU_MAIN
event hook based on which project is currently selected. Therefore the
return value from EVENT_MENU_MAIN should be checked to make sure it
isn't null. If it is null, then don't print anything in the menu.

Signed-off-by: David Hicks hickseydr@optusnet.com.au

mod - core/html_api.php Diff File