cvs: php-src /pear/PEAR ErrorStack.php

From: Date: Fri, 21 May 2004 03:43:58 +0000
Subject: cvs: php-src /pear/PEAR ErrorStack.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-331@lists.php.net to get a copy of this message
cellog Thu May 20 23:43:58 2004 EDT Modified files: /php-src/pear/PEAR ErrorStack.php Log: fix missing assignment $this->_errors = array_filter($this->_errors); http://cvs.php.net/diff.php/php-src/pear/PEAR/ErrorStack.php?r1=1.4&r2=1.5&ty=u Index: php-src/pear/PEAR/ErrorStack.php diff -u php-src/pear/PEAR/ErrorStack.php:1.4 php-src/pear/PEAR/ErrorStack.php:1.5 --- php-src/pear/PEAR/ErrorStack.php:1.4 Thu May 20 23:33:19 2004 +++ php-src/pear/PEAR/ErrorStack.php Thu May 20 23:43:58 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: ErrorStack.php,v 1.4 2004/05/21 03:33:19 cellog Exp $ +// $Id: ErrorStack.php,v 1.5 2004/05/21 03:43:58 cellog Exp $ /** * Error Stack Implementation @@ -693,7 +693,7 @@ $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; }

« previous php.pear.core (#331) next »