From be7b80dcbaf9346517758349a2edfd121a872115 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 17 May 2003 11:44:57 +0000 Subject: [PATCH] TSRM fix --- ext/wddx/wddx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 95c437cbaa..7d0151ca8f 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -1284,8 +1284,7 @@ PHP_FUNCTION(wddx_deserialize) payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0 TSRMLS_CC); } } else { - php_error(E_WARNING, "%s() expects parameter 1 to be a string or a stream", - get_active_function_name()); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a stream"); return; } -- 2.40.0