Index: library/Zend/Filter/HtmlEntities.php
===================================================================
--- library/Zend/Filter/HtmlEntities.php (revision 17389)
+++ library/Zend/Filter/HtmlEntities.php (working copy)
@@ -65,9 +65,9 @@
if (!is_array($options)) {
trigger_error('Support for multiple arguments is deprecated in favor of a single options array', E_USER_NOTICE);
$argv = func_get_args();
- $temp['quotestyle'] = array_shift($options);
+ $temp['quotestyle'] = array_shift($argv);
if (!empty($argv)) {
- $temp['charset'] = array_shift($options);
+ $temp['charset'] = array_shift($argv);
}
$options = $temp;