Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix obvious mistake in constructor - was being set to E_ERROR because…

… I used twice
  • Loading branch information...
commit ea858b77adbda3c1728049d8dd94fa08ae82ae4b 1 parent 450c39e
Greg Beaver cellog authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/MultiErrors.php
4 src/MultiErrors.php
@@ -58,7 +58,7 @@ class PEAR2_MultiErrors implements Iterator, Countable, ArrayAccess {
58 58 */
59 59 private $_parent;
60 60
61   - public function __construct($level = false,
  61 + public function __construct($mylevel = false,
62 62 array $allowed = array('E_NOTICE', 'E_WARNING', 'E_ERROR'),
63 63 PEAR2_MultiErrors $parent = null)
64 64 {
@@ -68,7 +68,7 @@ public function __construct($level = false,
68 68 }
69 69 }
70 70 $this->_allowedLevels = array_flip($allowed);
71   - $this->_requestedLevel = $level;
  71 + $this->_requestedLevel = $mylevel;
72 72 if ($level) {
73 73 $this->_parent = $parent;
74 74 }

0 comments on commit ea858b7

Please sign in to comment.
Something went wrong with that request. Please try again.