diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-04-21 21:11:23 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-04-21 21:11:23 +0000 |
commit | 8b8940ba84e772642b8d74cddb6a5340a001c652 (patch) | |
tree | 659379607a9742d7567b9bd0a8cc7621cb62a361 /ext/dom/php_dom.c | |
parent | 287a31e0538cbf70e741463056677f209490c8cb (diff) | |
download | php-git-8b8940ba84e772642b8d74cddb6a5340a001c652.tar.gz |
php_error() -> php_error_docref().
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r-- | ext/dom/php_dom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 6226dee5b6..d56adf1f7b 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -346,11 +346,11 @@ PHP_FUNCTION(dom_import_simplexml) if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { DOM_RET_OBJ(rv, (xmlNodePtr) nodep, &ret, (dom_object *)nodeobj); } else { - php_error(E_WARNING, "Invalid Nodetype to import"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid Nodetype to import"); RETURN_NULL(); } #else - php_error(E_WARNING, "SimpleXML support is not enabled"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "SimpleXML support is not enabled"); return; #endif } |