Fix bug found on PHP veersion < 5.4

html_entity_decode has different available constant for 2nd argument
depending on PHP version.