diff options
author | Scott MacVicar <scottmac@php.net> | 2007-05-14 18:09:20 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2007-05-14 18:09:20 +0000 |
commit | 607467451d8b7e1b011a8dc358ff0ad704b1d43d (patch) | |
tree | 022266cdbd16b36c7b71dce2e1110b3f4c1e82d1 /ext/mysql/php_mysql.c | |
parent | ac38b635cb83304566b31901cf4aa95bd108d941 (diff) | |
download | php-git-607467451d8b7e1b011a8dc358ff0ad704b1d43d.tar.gz |
Prefix NEWS item so documentation team know of new function and typo from old parsing API spotted by bjori
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |