From b32a32b7cf9fcecd6ff73729ec8c368562c75a77 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 1 Aug 2005 06:00:14 +0000 Subject: [PATCH] Make trigger_error() a dynamic string --- xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml.php b/xml.php index a04267b..2a2a0ca 100644 --- a/xml.php +++ b/xml.php @@ -102,7 +102,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('XML Error: $error[string] at line $error[line] colunn $error[column]', E_USER_ERROR); + trigger_error("XML Error: $error[string] at line $error[line] colunn $error[column]", E_USER_ERROR); exit; } -- 2.43.5