projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3b9d7
)
XML/Parser.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 19 Jul 2011 06:47:40 +0000
(14:47 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 19 Jul 2011 06:47:40 +0000
(14:47 +0800)
XML/Parser.php
patch
|
blob
|
history
diff --git
a/XML/Parser.php
b/XML/Parser.php
index
b6186f1
..
a38a161
100644
(file)
--- a/
XML/Parser.php
+++ b/
XML/Parser.php
@@
-610,10
+610,10
@@
class XML_Parser extends PEAR
*
* @return XML_Parser_Error reference to the error object
**/
- function
raiseError($msg = null, $ecode = 0)
+ function
&
raiseError($msg = null, $ecode = 0)
{
$msg = !is_null($msg) ? $msg : $this->parser;
- $err =
new XML_Parser_Error($msg, $ecode);
+ $err =
&
new XML_Parser_Error($msg, $ecode);
return parent::raiseError($err);
}