Skip to content

Commit

Permalink
Changes for MM xliff
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed May 8, 2024
1 parent a52fabc commit bded15c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contao/Event/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ private static function renderSimpleCheckbox(
): void {
if (
(null !== $event->getRendered())
|| !(!((bool) $extra['multiple']) && ('checkbox' === $property->getWidgetType()))
|| !(!((bool) ($extra['multiple'] ?? false)) && ('checkbox' === $property->getWidgetType()))
) {
return;
}
Expand Down
3 changes: 3 additions & 0 deletions src/Controller/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ public function executePostActions(DataContainerInterface $container)
assert($inputProvider instanceof InputProviderInterface);

$action = $inputProvider->getValue('action');
if (null === $action) {
return;
}

if (
\in_array(
Expand Down

0 comments on commit bded15c

Please sign in to comment.