diff --git a/library/Class/Systeme/Report.php b/library/Class/Systeme/Report.php index 18dc12b0e4c5cecfe00e54039b9f5daecad7e90e..2a7ed1b54788beb98b4206fd713797f93655525a 100644 --- a/library/Class/Systeme/Report.php +++ b/library/Class/Systeme/Report.php @@ -101,15 +101,16 @@ class Class_Systeme_Report_Portal extends Class_Systeme_Report_Abstract { protected function _fetchTags() { + $tags = (string)Class_AdminVar::get('STATUS_REPORT_TAGS'); + if (defined('STATUS_REPORT_TAGS')) + $tags = (string)constant('STATUS_REPORT_TAGS') . ',' . $tags; + return array_values( array_filter( array_map('trim', preg_split( - '/[^0-9a-zA-Z_]+/', - (string)constant('STATUS_REPORT_TAGS') - . ',' - . (string)Class_AdminVar::get('STATUS_REPORT_TAGS'))))); + '/[^0-9a-zA-Z_]+/', $tags)))); } }