Skip to content

Commit 5b0cf57

Browse files
committed
add clarifying parentheses
1 parent bb43d1e commit 5b0cf57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EventListener/DataContainer/ContentDataContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ContentDataContainer
2020
*/
2121
public function loadDataContainer(string $table): void
2222
{
23-
if ( ('form' === $_GET['do'] ?? null) && $table === ContentModel::getTable() )
23+
if ( ('form' === ($_GET['do'] ?? null)) && ($table === ContentModel::getTable()))
2424
{
2525
// set dynamic parent table name
2626
$GLOBALS['TL_DCA'][$table]['config']['ptable'] = FormModel::getTable();

0 commit comments

Comments
 (0)