summaryrefslogtreecommitdiff
path: root/ext/simplexml/php_simplexml_exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/php_simplexml_exports.h')
-rwxr-xr-xext/simplexml/php_simplexml_exports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/php_simplexml_exports.h b/ext/simplexml/php_simplexml_exports.h
index 6d6e7b8..445605f 100755
--- a/ext/simplexml/php_simplexml_exports.h
+++ b/ext/simplexml/php_simplexml_exports.h
@@ -35,7 +35,7 @@
__n = (__s)->node->node; \
} else { \
__n = NULL; \
- php_error(E_WARNING, "Node no longer exists"); \
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Node no longer exists"); \
} \
}