summaryrefslogtreecommitdiff
path: root/ext/dom/domimplementation.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-04-21 21:11:23 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2005-04-21 21:11:23 (GMT)
commit8b8940ba84e772642b8d74cddb6a5340a001c652 (patch)
tree659379607a9742d7567b9bd0a8cc7621cb62a361 /ext/dom/domimplementation.c
parent287a31e0538cbf70e741463056677f209490c8cb (diff)
downloadphp-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 5669bca..f99c2f6 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;
}