Issue #1587570 by tregeagle, Ignigena, RobKoberg, yannickoo, RoSk0: Fixed PHP 5.4 compatibility of theme_hierarchical_select().