--- string_api2.php Tue Aug 18 10:03:39 2009 +++ string_api.php Tue Aug 18 10:08:24 2009 @@ -267,7 +267,14 @@ $t_clean_pairs = array(); foreach( $t_pairs as $t_key => $t_value ) { - $t_clean_pairs[] = rawurlencode( $t_key ) . '=' . rawurlencode( $t_value ); + if ( is_array( $t_value ) ) { + foreach( $t_value as $t_key2 => $t_value2 ) { + $t_clean_pairs[] = rawurlencode( $t_key ) . '=' . rawurlencode( $t_value2 ); + } + } + else { + $t_clean_pairs[] = rawurlencode( $t_key ) . '=' . rawurlencode( $t_value ); + } } if ( !empty( $t_clean_pairs ) ) {