Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
8d636ef4
Commit
8d636ef4
authored
Mar 08, 2018
by
Thomas Löffler
Browse files
Use the correct array for checking category
parent
8d232637
Pipeline
#3797
passed with stages
in 5 minutes and 18 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter/class.tx_ter_helper.php
View file @
8d636ef4
...
...
@@ -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
(
$extension
sAnd
Version
s
Arr
[
'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'
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment