$header_name is intger.
Use intval() instead htmlentities().
Also some minor changes in the patch.

Comments

nikolay shapovalov’s picture

nikolay shapovalov’s picture

Status: Active » Needs review
Konstantin Komelin’s picture

Category: Bug report » Task
Status: Needs review » Fixed
Konstantin Komelin’s picture

Status: Fixed » Closed (fixed)