diff options
author | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
---|---|---|
committer | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
commit | 1fa3b21c15a291cf442138513849930d23e1a102 (patch) | |
tree | e31cc8bbdf698c1f6dca5a69b0a26437d08a79b1 /ext/xsl/xsltprocessor.c | |
parent | cb7a21a42b4f91a42617dd22562d819f9b2c2be5 (diff) | |
download | php-git-1fa3b21c15a291cf442138513849930d23e1a102.tar.gz |
MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
- "than" instead of "then" (Hint: "then" should hardly be needed;
you're not telling the order in which to do something)
... plus removed a couple ending. dots
Diffstat (limited to 'ext/xsl/xsltprocessor.c')
-rw-r--r-- | ext/xsl/xsltprocessor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index ef925fc7e7..d1108e5122 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -343,7 +343,7 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t } else if (retval->type == IS_BOOL) { valuePush(ctxt, xmlXPathNewBoolean(retval->value.lval)); } else if (retval->type == IS_OBJECT) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "A PHP Object can not be converted to a XPath-string"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "A PHP Object cannot be converted to a XPath-string"); valuePush(ctxt, xmlXPathNewString("")); } else { convert_to_string_ex(&retval); |