From 867ef83daa8b7e106c310903a892400d546ab06e Mon Sep 17 00:00:00 2001 From: Stephan Schmidt Date: Fri, 25 Mar 2005 17:09:59 +0000 Subject: [PATCH] fix Bug #3949: reset does not return true on success as the documentation states git-svn-id: http://svn.php.net/repository/pear/packages/XML_Parser/trunk@182842 c90b9560-bf6c-de11-be94-00142212c4b1 --- Parser.php | 1 + Parser/Simple.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Parser.php b/Parser.php index 4d15deb..bba463d 100644 --- a/Parser.php +++ b/Parser.php @@ -356,6 +356,7 @@ function reset() if ($this->isError( $result )) { return $result; } + return true; } // }}} diff --git a/Parser/Simple.php b/Parser/Simple.php index 750deef..7215d1b 100644 --- a/Parser/Simple.php +++ b/Parser/Simple.php @@ -182,6 +182,7 @@ function reset() if ($this->isError( $result )) { return $result; } + return true; } /**