Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -971,7 +971,7 @@ |
972 | 972 | // has to be turned into hidden inputs. |
973 | 973 | if ( $inLinkType == 'button' || $inLinkType == 'post button' ) { |
974 | 974 | |
975 | | - $query_components = explode( '&', http_build_query( $inQueryArr ) ); |
| 975 | + $query_components = explode( '&', http_build_query( $inQueryArr, '', '&' ) ); |
976 | 976 | |
977 | 977 | foreach ( $query_components as $query_component ) { |
978 | 978 | $query_component = urldecode( $query_component ); |
— | — | @@ -982,7 +982,7 @@ |
983 | 983 | } |
984 | 984 | } else { |
985 | 985 | $link_url .= ( strstr( $link_url, '?' ) ) ? '&' : '?'; |
986 | | - $link_url .= http_build_query( $inQueryArr ); |
| 986 | + $link_url .= str_replace( '+', '%20', http_build_query( $inQueryArr, '', '&' ) ); |
987 | 987 | } |
988 | 988 | } |
989 | 989 | if ( $inLinkType == 'button' || $inLinkType == 'post button' ) { |