Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php |
— | — | @@ -709,7 +709,11 @@ |
710 | 710 | |
711 | 711 | $url = $wgRequest->getFullRequestURL(); |
712 | 712 | $url_parts = wfParseUrl( $url ); |
713 | | - $query_array = wfCgiToArray( $url_parts[ 'query' ] ); |
| 713 | + if ( isset( $url_parts[ 'query' ] ) ) { |
| 714 | + $query_array = wfCgiToArray( $url_parts[ 'query' ] ); |
| 715 | + } else { |
| 716 | + $query_array = array(); |
| 717 | + } |
714 | 718 | |
715 | 719 | // ensure that _cache_ does not get set in the URL |
716 | 720 | unset( $query_array[ '_cache_' ] ); |