]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on
authorIlia Alshanetsky <iliaa@php.net>
Mon, 11 May 2009 12:22:19 +0000 (12:22 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 11 May 2009 12:22:19 +0000 (12:22 +0000)
invalid paths)

ext/xmlwriter/php_xmlwriter.c

index 9f231bbfb035b920ad4bf6264057cbdd3ac704d4..53ccbeec43ef8b7106143c6a5381574dfc667033 100644 (file)
@@ -1787,6 +1787,7 @@ static PHP_FUNCTION(xmlwriter_open_uri)
                if (source_type == IS_UNICODE) {
                        efree(source);
                }
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to resolve file path");
                RETURN_FALSE;
        }