summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-05-21 03:43:58 +0000
committerGreg Beaver <cellog@php.net>2004-05-21 03:43:58 +0000
commitf30b95fcf0d9c4ec77bbd395eacc9caf7c120f97 (patch)
tree648b852c677caef84d55af9f8b53a2f5a01612f1 /pear
parent981948641ca716aaa43657068d64b6e374c6063f (diff)
downloadphp-git-f30b95fcf0d9c4ec77bbd395eacc9caf7c120f97.tar.gz
fix missing assignment
$this->_errors = array_filter($this->_errors);
Diffstat (limited to 'pear')
-rw-r--r--pear/PEAR/ErrorStack.php2
1 files changed, 1 insertions, 1 deletions
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;
}