]> 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:20:18 +0000 (17:20 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 7 Jan 2009 17:20:18 +0000 (17:20 +0000)
Patch by Andy wharmby

ext/standard/quot_print.c

index 93b9465ae5ade0cd00ac917a0340a00a371b6aea..8806f6a373b68fc6c9d22761dde9bf949170422d 100644 (file)
@@ -203,7 +203,7 @@ PHP_FUNCTION(quoted_printable_decode)
        int arg1_len, i = 0, j = 0, k;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg1, &arg1_len) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               return;
        }
     
        if (arg1_len == 0) {