Browse Source

[GENERIC] Zend_Log

replacement of the function is_integer() alias.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23575 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon 15 năm trước cách đây
mục cha
commit
1bf54efec8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      library/Zend/Log/Writer/Abstract.php

+ 1 - 1
library/Zend/Log/Writer/Abstract.php

@@ -53,7 +53,7 @@ abstract class Zend_Log_Writer_Abstract implements Zend_Log_FactoryInterface
      */
     public function addFilter($filter)
     {
-        if (is_integer($filter)) {
+        if (is_int($filter)) {
             $filter = new Zend_Log_Filter_Priority($filter);
         }