summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/wddx/wddx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 6387ca2ecd..cde3e07406 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -373,6 +373,7 @@ void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len)
if (comment) {
char *escaped;
size_t escaped_len;
+ TSRMLS_FETCH();
escaped = php_escape_html_entities(
comment, comment_len, &escaped_len, 0, ENT_QUOTES, NULL TSRMLS_CC);