Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -1225,6 +1225,7 @@ |
1226 | 1226 | |
1227 | 1227 | function runPreProcess() { |
1228 | 1228 | if ( $this->transaction_option( 'do_validation' ) ) { |
| 1229 | + global $wgHooks; |
1229 | 1230 | if ( !isset( $wgHooks['GatewayValidate'] ) ) { |
1230 | 1231 | //if there ARE no validate hooks, we're okay. |
1231 | 1232 | $this->action = 'process'; |