Commit 8d636ef4 authored by Thomas Löffler's avatar Thomas Löffler

Use the correct array for checking category

parent 8d232637
Pipeline #3797 passed with stages
in 5 minutes and 18 seconds
......@@ -431,7 +431,7 @@ class tx_ter_helper
$versionObj->appendChild(new DOMElement('state', $this->xmlentities($extensionVersionArr['state'])));
$versionObj->appendChild(new DOMElement('reviewstate', intval($extensionVersionArr['reviewstate'])));
$versionObj->appendChild(new DOMElement('category', $this->xmlentities($extensionVersionArr['category'])));
if ($extensionsAndVersionsArr['category'] === 'distribution') {
if ($extensionVersionArr['category'] === 'distribution') {
$prefixPathToDistributionFiles = 'fileadmin/' . $extensionKey[0] . '/' . $extensionKey[1] . '/' . $extensionKey . '_' . $versionNumber . '_';
$versionObj->appendChild(new DOMElement('distributionImage', $this->xmlentities($prefixPathToDistributionFiles . 'Distribution.png')));
$versionObj->appendChild(new DOMElement('distributionImageWelcome', $this->xmlentities($prefixPathToDistributionFiles . 'DistributionWelcome.png')));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment