summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.h
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/php_dom.h
parent287a31e0538cbf70e741463056677f209490c8cb (diff)
downloadphp-git-8b8940ba84e772642b8d74cddb6a5340a001c652.tar.gz
php_error() -> php_error_docref().
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r--ext/dom/php_dom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h
index eb17dc5154..0cf94a43f9 100644
--- a/ext/dom/php_dom.h
+++ b/ext/dom/php_dom.h
@@ -119,7 +119,7 @@ entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
#define DOM_GET_OBJ(__ptr, __id, __prtype, __intern) { \
__intern = (dom_object *)zend_object_store_get_object(__id TSRMLS_CC); \
if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \
- php_error(E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
RETURN_NULL();\
} \
}