From 826bd555fcd5893b9c75a0ce075c25b1d36e660c Mon Sep 17 00:00:00 2001 From: Philipp Z Date: Fri, 21 Feb 2020 08:47:08 +0100 Subject: [PATCH] Fixed "Loading quote from session" log message Because the quote was not transmitted to getForbiddenPaymentMethodsForCart() method here, it was taken from session in helper RicoNeitzel_PaymentFilter_Helper_Data. This triggered the log message "Loading quote from session". --- .../RicoNeitzel/PaymentFilter/Helper/Payment/Data.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/community/RicoNeitzel/PaymentFilter/Helper/Payment/Data.php b/app/code/community/RicoNeitzel/PaymentFilter/Helper/Payment/Data.php index f0f00c6..968b13f 100644 --- a/app/code/community/RicoNeitzel/PaymentFilter/Helper/Payment/Data.php +++ b/app/code/community/RicoNeitzel/PaymentFilter/Helper/Payment/Data.php @@ -44,7 +44,7 @@ public function getStoreMethods($store = null, $quote = null) if ( in_array( $method->getCode(), - Mage::helper('payfilter')->getForbiddenPaymentMethodsForCart()) + Mage::helper('payfilter')->getForbiddenPaymentMethodsForCart($quote)) ) { continue; } @@ -61,4 +61,4 @@ public function getStoreMethods($store = null, $quote = null) } return $methods; } -} \ No newline at end of file +}