12852 - fix submit.php (duplicate default in switch case)

This commit is contained in:
Rodney Figaro 2017-04-20 18:33:40 +02:00
parent fff52d067b
commit cce0dd2d56

View File

@ -162,7 +162,6 @@ class SystempaySubmitModuleFrontController extends ModuleFrontController {
case Configuration::get('PS_OS_PAYMENT'):
case Configuration::get('SYSTEMPAY_OS_PAYMENT_OUTOFSTOCK'):
case (($oldState == Configuration::get('PS_OS_OUTOFSTOCK')) && !$this->module->isOney($systempayResponse)):
default:
if($systempayResponse->isAcceptedPayment()) {
// redirect to success page