From 0a20369a3cf5189240689ce5eebc27681ce21a30 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 31 Jul 2005 01:08:58 +0000 Subject: [PATCH] Don't show the error code on parse errors --- xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml.php b/xml.php index dff2034..e29a73d 100644 --- a/xml.php +++ b/xml.php @@ -125,7 +125,7 @@ class XML_Parser $error['string'] = xml_error_string($error['code']); $error['line'] = xml_get_current_line_number($this->parser); $error['column'] = xml_get_current_column_number($this->parser); - trigger_error(sprintf("XML Error: %s (%d) at line %d colunn %d", $error['string'], $error['code'], $error['line'], $error['column']), E_USER_ERROR); + trigger_error(sprintf("XML Error: %s at line %d colunn %d", $error['string'], $error['line'], $error['column']), E_USER_ERROR); exit; } -- 2.43.5