added a comment - - edited
(3) Moved from
ZBX-6684. Incorrect severity label is shown when hovering on user profile media list item.
In User profile media tab, when hovering on added media severity labels NIWAHD, value "Off" shows for enabled severities.
This is due to checking non-existent parameter $map['style'] in file media.inc.php: 49
<richlv> hmm. this will be confusing now - issue changes were done for 2.0.4, now it is reopened, and "fix version" will be a mess...
Oleg Egorov RESOLVED IN r36244
Alexander Vladishev REOPENED
media_severity2str() return array of objects. The function should be renamed.
Тhe previous implementation of function was one many simpler and used less variables. Let's return old implementation!
Oleg Egorov RESOLVED IN r36259, 36292
Alexander Vladishev CLOSED Please review my changes in r36298
Oleg Egorov REVIEWED