Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Frontend/HeidelGateway/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3404,7 +3404,7 @@ public static function Logging($msg){
"createPayments inserting new paymethods| SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'hgw_san' for key 'name'",
);

if (in_array($prms_text, $prmsTextIgnore)) {
if (in_array($prms_text, $prmsTextToIgnore)) {
return ;
} else {
return Shopware()->Db()->query($sql, $params);
Expand Down Expand Up @@ -3592,7 +3592,7 @@ public function addSnippets(){
return;
}

foreach($langs as $key => $lang){
foreach($langs as $lang){
if(is_int(strpos($lang['locale'],'de_'))){
$snipLang = 'de';
}else{
Expand All @@ -3601,7 +3601,7 @@ public function addSnippets(){

$snippets = $this->snippets();

foreach($snippets as $key => $snippet){
foreach($snippets as $snippet){
// check if all array elements are set and lang matches

if($snippet[1] == "de")
Expand Down Expand Up @@ -4539,15 +4539,15 @@ public function addPluginTranslation(){
'HGW_HPR_CHANNEL' => array('label' => 'EasyCredit Channel'),
'HGW_CC_BOOKING_MODE' => array(
'label' => 'Credit Card booking mode',
'description' => $bookingModeDescEn,
'description' => $bookingModeDescEN,
),
'HGW_DC_BOOKING_MODE' => array(
'label' => 'Debit Card booking mode',
'description' => $bookingModeDescEn,
'description' => $bookingModeDescEN,
),
'HGW_DD_BOOKING_MODE' => array(
'label' => 'Direct Debit booking mode',
'description' => $bookingModeDescEn,
'description' => $bookingModeDescEN,
),
'HGW_DD_GUARANTEE_MODE' => array(
'label' => 'Direct debit with guarantee',
Expand All @@ -4559,7 +4559,7 @@ public function addPluginTranslation(){
),
'HGW_MPA_BOOKING_MODE' => array(
'label' => 'MasterPass booking mode',
'description' => $bookingModeDescEn,
'description' => $bookingModeDescEN,
),
'HGW_CHB_STATUS' => array(
'label' => 'Chargeback State',
Expand Down Expand Up @@ -4744,4 +4744,4 @@ public static function formatUserInfos($user = null)
}
return $user;
}
}
}