View Issue Details

IDProjectCategoryView StatusLast Update
0020480mantisbtcode cleanuppublic2016-06-12 00:43
Reportercproensa Assigned Tocproensa  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.3.0-rc.2Fixed in Version1.3.0-rc.2 
Summary0020480: Plugin filter fields throw warnings while rendering filter section
Description

When registered a filter field through plugin event (EVENT_FILTER_FIELDS), the rendering of filter section throws some warnings:


SYSTEM NOTICE: 'Undefined offset: 0' in '/var/www/html/git/mantis13_cpm/core/filter_api.php' line 3026
SYSTEM NOTICE: 'Undefined offset: 0' in '/var/www/html/git/mantis13_cpm/core/filter_api.php' line 3034

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 0395fa06

2016-01-05 02:30

cproensa

Committer: dregad


Details Diff
Fix warnings on rendering plugin filter fields

When registering a field through EVENT_FILTER_FIELDS plugin event,
the rendering of the filter section throws some warnings:
SYSTEM NOTICE: 'Undefined offset: 0'

Correction is made for the initialization of array variables.

Fixes 0020480

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0020480
mod - core/filter_api.php Diff File