From af7a7a4e363a7b40497a8b99ea58cd7b08fb1b84 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 24 Apr 2007 14:11:28 +0000 Subject: [PATCH] Fixed error message to reflect the check --- ext/simplexml/simplexml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 0b0f9ff54b..dc5b6c8983 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1543,7 +1543,7 @@ SXE_METHOD(addAttribute) } if (qname_len == 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attribute name and value are required"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attribute name is required"); return; } -- 2.50.1