From 607467451d8b7e1b011a8dc358ff0ad704b1d43d Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Mon, 14 May 2007 18:09:20 +0000 Subject: Prefix NEWS item so documentation team know of new function and typo from old parsing API spotted by bjori --- ext/mysql/php_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index bc090144e1..029697c51c 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1141,7 +1141,7 @@ PHP_FUNCTION(mysql_set_charset) php_mysql_conn *mysql; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &csname, &csname_len, &mysql_link) == FAILURE) { - WRONG_PARAM_COUNT; + return; } if (ZEND_NUM_ARGS() == 1) { -- cgit v1.2.1