Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion Classes/Controller/EditorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ protected function initializeView(ViewInterface $view)
$this->createMenu($this->moduleTemplate);
$this->createButtons($this->moduleTemplate);
}

}

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/Tca/ContentBehaviour.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function render(): array
// GridElements: are able to provide grid-specific behaviours
if (is_array($label) && $cType === 'gridelements_pi1' && !array_key_exists(
$contentElementKey,
$this->defaultProperties['properties']
$this->defaultProperties['properties']
)) {
$contentElementKey = substr($contentElementKey, 0, -1);

Expand All @@ -102,7 +102,7 @@ public function render(): array
} // Normal CEs
else {
// Is default property!?
if (array_key_exists($contentElementKey, $this->defaultProperties['properties'])) {
if (array_key_exists($contentElementKey, $this->defaultProperties['properties'])) {
$this->createElement($contentElementKey, $label, 'default');
} // Is ctype specific!
else {
Expand Down
4 changes: 2 additions & 2 deletions Classes/Tca/ContentVariants.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function render(): array
// GridElements: are able to provide grid-specific variants
if (is_array($label) && $cType === 'gridelements_pi1' && !array_key_exists(
$contentElementKey,
$this->defaultProperties['properties']
$this->defaultProperties['properties']
)) {
$contentElementKey = substr($contentElementKey, 0, -1);

Expand All @@ -103,7 +103,7 @@ public function render(): array
} // Normal CEs
else {
// Is default property!?
if (array_key_exists($contentElementKey, $this->defaultProperties['properties'])) {
if (array_key_exists($contentElementKey, $this->defaultProperties['properties'])) {
$this->createElement($contentElementKey, $label, 'default');
} // Is ctype specific!
else {
Expand Down
14 changes: 7 additions & 7 deletions Classes/TsConfig/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ protected function fetchThemeExtensionsAndFeatures($pageUid)
$queryBuilder->select('*')
->from('sys_template')
->where(
$queryBuilder->expr()->andX(
$queryBuilder->expr()->eq(
'pid',
$queryBuilder->createNamedParameter((int)$page['uid'], PDO::PARAM_INT)
),
$queryBuilder->expr()->eq('root', '1')
)
$queryBuilder->expr()->andX(
$queryBuilder->expr()->eq(
'pid',
$queryBuilder->createNamedParameter((int)$page['uid'], PDO::PARAM_INT)
),
$queryBuilder->expr()->eq('root', '1')
)
);
/** @var Statement $statement */
$statement = $queryBuilder->execute();
Expand Down
5 changes: 3 additions & 2 deletions Classes/ViewHelpers/Widget/LanguageMenuViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

class LanguageMenuViewHelper extends AbstractViewHelper
{

protected $escapeOutput = false;
protected $escapeChildren = false;

public function validateAdditionalArguments(array $arguments) {}
public function validateAdditionalArguments(array $arguments)
{
}
public function render()
{
return '<!-- Language Menu Widget is deprecated and will be removed later, use the info from the site config now! -->';
Expand Down