]> granicus.if.org Git - php/commitdiff
fix missing assignment
authorGreg Beaver <cellog@php.net>
Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)
$this->_errors = array_filter($this->_errors);

pear/PEAR/ErrorStack.php

index 7f3c803b1d03ee9bee8dc77e7d2442e6603d53dc..2a074ed716612ffeb639d1c3548b3a3076e5d678 100644 (file)
@@ -693,7 +693,7 @@ class PEAR_ErrorStack {
                 $this->_errorsByLevel[$level][$i] = false;
             }
             // array_filter removes all entries === false
-            array_filter($this->_errors);
+            $this->_errors = array_filter($this->_errors);
             unset($this->_errorsByLevel[$level]);
             return $ret;
         }