]> granicus.if.org Git - php/commitdiff
- Fixed bug #47029 (quoted_printable_decode() produces duplicate warning)
authorFelipe Pena <felipe@php.net>
Wed, 7 Jan 2009 17:24:20 +0000 (17:24 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 7 Jan 2009 17:24:20 +0000 (17:24 +0000)
Patch by Andy wharmby

ext/standard/quot_print.c

index 8fce81088d3f68c1fb20dbcc7a9751d98a92a3e6..5c7932e06bd5d8ac2a30fcb886207703b5bd71b3 100644 (file)
@@ -156,7 +156,7 @@ PHP_FUNCTION(quoted_printable_decode)
        int i = 0, j = 0, k;
 
        if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg1) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               return;
        }
        convert_to_string_ex(arg1);