View Issue Details

IDProjectCategoryView StatusLast Update
0021407mantisbtcustomizationpublic2016-08-28 01:12
Reportercproensa Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.0 
Target Version1.3.1Fixed in Version1.3.1 
Summary0021407: Event EVENT_MENU_ISSUE prints empty brackets even if no value is returned
Description

If the result from the event call is null, no brackets should be printed

TagsNo tags attached.

Related Changesets

MantisBT: master-1.3.x 0227d637

2016-07-28 15:49

cproensa


Details Diff
Don't show empty EVENT_MENU_ISSUE menu items

If the result of event call for EVENT_MENU_ISSUE is null, dont print
bracket with empty content.

Having null as returned value is valid.
For example: a plugin can hook to this event and return either an
actual item or an empty one, based in access level.

Fixes: 0021407
Affected Issues
0021407
mod - bug_view_inc.php Diff File

MantisBT: master 1771a600

2016-07-28 15:55

cproensa


Details Diff
Don't show empty EVENT_MENU_ISSUE menu items

If the result of event call for EVENT_MENU_ISSUE is null, dont print
bracket with empty content.

Having null as returned value is valid.
For example: a plugin can hook to this event and return either an
actual item or an empty one, based in access level.

Fixes: 0021407
Affected Issues
0021407
mod - bug_view_inc.php Diff File