View Issue Details

IDProjectCategoryView StatusLast Update
0013192mantisbtplug-inspublic2014-09-23 18:05
Reporterrombert Assigned Torombert  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.6 
Target Version1.2.7Fixed in Version1.2.7 
Summary0013192: Gracefully handle empty return for hook EVENT_MENU_FILTER
Description

Plugins may decide to return an empty value fo the EVENT_MENU_FILTER hook. In my current use case, I'd like to contribute a link only if the current project is not ALL_PROJECT. If I return an empty value, the brackets are still printed for the link.

The view_all_inc.php page should account for empty return values and skip them altogether.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036414

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x fa89f564

2011-07-30 21:56

rombert


Details Diff
Fix 0013192 : Gracefully handle empty return for hook EVENT_MENU_FILTER Affected Issues
0013192
mod - view_all_inc.php Diff File

MantisBT: master c5b4625e

2011-07-30 21:59

rombert


Details Diff
Fix 0013192 : Gracefully handle empty return for hook EVENT_MENU_FILTER Affected Issues
0013192
mod - view_all_inc.php Diff File