|
@@ -187,7 +187,7 @@ |
|
|
block discarded – undo |
|
187
|
187
|
protected function removeBannedPaymentMethods($aPaymentMethods, Quote $oQuote) |
|
188
|
188
|
{ |
|
189
|
189
|
$aBannedMethos = $this->getBannedPaymentMethods($oQuote); |
|
190
|
|
- for($i = 0; $i < count($aPaymentMethods); $i++) { |
|
|
190
|
+ for ($i = 0; $i < count($aPaymentMethods); $i++) { |
|
191
|
191
|
$sCode = $aPaymentMethods[$i]->getCode(); |
|
192
|
192
|
if (array_key_exists($sCode, $aBannedMethos) !== false) { |
|
193
|
193
|
$iBannedUntil = strtotime($aBannedMethos[$sCode]); |
Please login to merge, or discard this patch.