projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d8808
)
PHP8
author
Alan
<alan@roojs.com>
Mon, 26 Feb 2024 02:56:16 +0000
(10:56 +0800)
committer
Alan
<alan@roojs.com>
Mon, 26 Feb 2024 02:56:16 +0000
(10:56 +0800)
XML/Parser.php
patch
|
blob
|
history
diff --git
a/XML/Parser.php
b/XML/Parser.php
index
3a3285e
..
38723ba
100644
(file)
--- a/
XML/Parser.php
+++ b/
XML/Parser.php
@@
-614,7
+614,7
@@
class XML_Parser extends PEAR
{
$code = is_null($code) ? 0 : $code;
$msg = !is_null($message) ? $message : $this->parser;
- $err = new XML_Parser_Error($msg, $
e
code);
+ $err = new XML_Parser_Error($msg, $code);
return parent::raiseError($err);
}