From 7cdd6a6bb5b67735a8df896079ceb2bd7fb7e1c4 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 6 Jul 2002 11:18:47 +0000 Subject: [PATCH] - Consistent error messages --- ext/rpc/xmlrpc/xmlrpc-epi-php.c | 2 +- ext/xmlrpc/xmlrpc-epi-php.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/rpc/xmlrpc/xmlrpc-epi-php.c b/ext/rpc/xmlrpc/xmlrpc-epi-php.c index cc4c483b37..8df12e8aa7 100644 --- a/ext/rpc/xmlrpc/xmlrpc-epi-php.c +++ b/ext/rpc/xmlrpc/xmlrpc-epi-php.c @@ -1488,7 +1488,7 @@ PHP_FUNCTION(xmlrpc_is_fault) } if (Z_TYPE_P(arg) != IS_ARRAY) { - php_error(E_NOTICE, "%s() expects argument to be an array", get_active_function_name(TSRMLS_C)); + php_error(E_NOTICE, "%s(): Array argument expected", get_active_function_name(TSRMLS_C)); } else { /* The "correct" way to do this would be to call the xmlrpc diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index cc4c483b37..8df12e8aa7 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -1488,7 +1488,7 @@ PHP_FUNCTION(xmlrpc_is_fault) } if (Z_TYPE_P(arg) != IS_ARRAY) { - php_error(E_NOTICE, "%s() expects argument to be an array", get_active_function_name(TSRMLS_C)); + php_error(E_NOTICE, "%s(): Array argument expected", get_active_function_name(TSRMLS_C)); } else { /* The "correct" way to do this would be to call the xmlrpc -- 2.50.1