diff options
Diffstat (limited to 'ext/simplexml')
-rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 1f75052ed7..7870377687 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1499,7 +1499,7 @@ SXE_METHOD(asXML) return_content = (char *)outbuf->buffer->content; return_len = outbuf->buffer->use; #endif - if (return_content) { + if (!return_content) { RETVAL_FALSE; } else { RETVAL_STRINGL(return_content, return_len); |