Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -804,7 +804,9 @@ |
805 | 805 | */ |
806 | 806 | protected function stage_returnto( $type = 'request' ) { |
807 | 807 | if ( $type === 'request' ) { |
808 | | - $this->postdata['returnto'] = $this->postdata['returnto'] . '?' . wfArrayToCGI( array( 'order_id' => $this->postdata['order_id'] ) ); |
| 808 | + // Add order ID to the returnto URL |
| 809 | + $queryArray = array( 'order_id' => $this->postdata['order_id'] ); |
| 810 | + $this->postdata['returnto'] = wfAppendQuery( $this->postdata['returnto'], $queryArray ); |
809 | 811 | } |
810 | 812 | } |
811 | 813 | |