From: Greg Beaver Date: Fri, 21 May 2004 03:43:58 +0000 (+0000) Subject: fix missing assignment X-Git-Tag: RELEASE_0_1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f30b95fcf0d9c4ec77bbd395eacc9caf7c120f97;p=php fix missing assignment $this->_errors = array_filter($this->_errors); --- diff --git a/pear/PEAR/ErrorStack.php b/pear/PEAR/ErrorStack.php index 7f3c803b1d..2a074ed716 100644 --- a/pear/PEAR/ErrorStack.php +++ b/pear/PEAR/ErrorStack.php @@ -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; }