summaryrefslogtreecommitdiff
path: root/ext/dom/domimplementation.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-04-21 21:11:23 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-04-21 21:11:23 +0000
commit8b8940ba84e772642b8d74cddb6a5340a001c652 (patch)
tree659379607a9742d7567b9bd0a8cc7621cb62a361 /ext/dom/domimplementation.c
parent287a31e0538cbf70e741463056677f209490c8cb (diff)
downloadphp-git-8b8940ba84e772642b8d74cddb6a5340a001c652.tar.gz
php_error() -> php_error_docref().
Diffstat (limited to 'ext/dom/domimplementation.c')
-rw-r--r--ext/dom/domimplementation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/domimplementation.c b/ext/dom/domimplementation.c
index 5669bca3d4..f99c2f60f3 100644
--- a/ext/dom/domimplementation.c
+++ b/ext/dom/domimplementation.c
@@ -201,7 +201,7 @@ PHP_METHOD(domimplementation, createDocument)
xmlFreeDoc(docp);
xmlFree(localname);
/* Need some type of error here */
- php_error(E_WARNING, "Unexpected Error");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unexpected Error");
RETURN_FALSE;
}