Просмотр исходного кода

[ZF-7481] Zend_Filter_HtmlEntities:

- fixed constructor

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17808 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
b350b9341e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      library/Zend/Filter/HtmlEntities.php

+ 2 - 2
library/Zend/Filter/HtmlEntities.php

@@ -64,9 +64,9 @@ class Zend_Filter_HtmlEntities implements Zend_Filter_Interface
     {
         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();
+            $options = func_get_args();
             $temp['quotestyle'] = array_shift($options);
-            if (!empty($argv)) {
+            if (!empty($options)) {
                 $temp['charset'] = array_shift($options);
             }