Skip to content

Commit b1092ba

Browse files
committed
PEAR #9328: assigned by reference error in XML_RSS parse
git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@266395 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent ab52379 commit b1092ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,9 +608,9 @@ function free()
608608
* @param string $msg the error message
609609
* @param integer $ecode the error message code
610610
*
611-
* @return XML_Parser_Error
611+
* @return XML_Parser_Error reference to the error object
612612
**/
613-
function raiseError($msg = null, $ecode = 0)
613+
function &raiseError($msg = null, $ecode = 0)
614614
{
615615
$msg = !is_null($msg) ? $msg : $this->parser;
616616
$err = &new XML_Parser_Error($msg, $ecode);

0 commit comments

Comments
 (0)