From f83c11ceea658a4325af014a337844e3d502befa Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Fri, 12 Mar 2004 15:16:11 +0000 Subject: [PATCH] fix #27574 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153513 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/xml/reference.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/xml/reference.xml b/reference/xml/reference.xml index 633a77cb69..6b31cb9f3b 100644 --- a/reference/xml/reference.xml +++ b/reference/xml/reference.xml @@ -1,5 +1,5 @@ - + XML Parser Functions XML @@ -344,16 +344,16 @@ $map_array = array( function startElement($parser, $name, $attrs) { global $map_array; - if ($htmltag == $map_array[$name]) { - echo "<$htmltag>"; + if (isset($map_array[$name])) { + echo "<$map_array[$name]>"; } } function endElement($parser, $name) { global $map_array; - if ($htmltag == $map_array[$name]) { - echo ""; + if (isset($map_array[$name])) { + echo ""; } }