ZF-7481: Zend_Filter_HtmlEntities legacy constructor is not handled properly

Description

The updated Zend_Filter_HtmlEntities constructor to favor a single options array does not translate the deprecated constructor call properly. While the backwards compatibility code path retrieves the functions argument array (line 67) it does not make any use of it (lines 68 and 70), causing a notice to be emitted and resulting in ignoring the passed in charset argument.

Comments

Patch to fix replace the $options in lines 68 and 70 with $argv.

Fixed with r17808