Skip to content

Commit

Permalink
Merge pull request #280 from franzholz/develop
Browse files Browse the repository at this point in the history
next version 2.15.11
  • Loading branch information
franzholz authored Jul 17, 2024
2 parents 87b5624 + 61ec6ea commit 9a8be21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Classes/Api/PaymentShippingHandling.php
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ public static function useAccount($basketExtra)
return $result;
}

public static function getHandleLib($request, $basketExtra)
public static function getHandleLib($requestMode, $basketExtra)
{
$result = false;
$payConf = $basketExtra['payment.'] ?? [];
Expand All @@ -1833,7 +1833,7 @@ public static function getHandleLib($request, $basketExtra)
isset($payConf['handleLib.']) &&
is_array($payConf['handleLib.']) &&
isset($payConf['handleLib.']['gatewaymode']) &&
$payConf['handleLib.']['gatewaymode'] == $request &&
$payConf['handleLib.']['gatewaymode'] == $requestMode &&
ExtensionManagementUtility::isLoaded($handleLib)
) {
$result = $handleLib;
Expand Down
2 changes: 0 additions & 2 deletions eid/class.tx_ttproducts_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,7 @@ protected function generateResponse(

$tagId = $jsTableNamesId . '-' . $view . '-' . $uid . '-' . $field;
switch ($field) {
case 'image':
case 'image_uid':
case 'smallimage':
case 'smallimage_uid':
$imageRow = $row;
$imageTablename = $tablename;
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'title' => 'Shop System',
'description' => 'Advanced versions at ttproducts.de. Documented in the E-Book "Der TYPO3-Webshop" - Shop with listing in multiple languages, with order tracking, product variants, support for transactor extension, bill, creditpoint and voucher system.',
'state' => 'stable',
'version' => '2.15.10',
'version' => '2.15.11',
'manual' => true,
'author' => 'Franz Holzinger',
'author_company' => 'jambage.com',
Expand Down
2 changes: 1 addition & 1 deletion model/class.tx_ttproducts_product.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function getMatchingArticleRows(
}
}
$articleCount = count($bFitArticleRowArray);
$articleRow = $bFitArticleRowArray[0];
$articleRow = $bFitArticleRowArray[0] ?? [];

if ($articleCount > 1) {
// many articles fit here. So lets generated a merged article.
Expand Down

0 comments on commit 9a8be21

Please sign in to comment.