Fix merge conflict

This commit is contained in:
dinamiko 2022-08-01 16:05:28 +02:00
parent 495b719a54
commit 11c96608f1

View file

@ -106,6 +106,11 @@ class DisableGateways {
* @return bool
*/
private function needs_to_disable_gateways(): bool {
$wc_ajax = filter_input( INPUT_GET, 'wc-ajax', FILTER_SANITIZE_STRING ) ?? '';
if ( $wc_ajax === 'update_order_review' ) {
return false;
}
$order = $this->session_handler->order();
if ( ! $order ) {
return false;