Skip to content

Commit

Permalink
Merge pull request #426 from Stewy82/Stewy82-fix-typecasting
Browse files Browse the repository at this point in the history
[BUGFIX] Fix type cast bug happens when moving content elements of nested containers
  • Loading branch information
achimfritz committed Jul 6, 2023
2 parents d8c643d + 5574b38 commit e57ba4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Hooks/Datahandler/CommandMapBeforeStartHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function unsetInconsistentCopyOrMoveCommands(DataHandler $dataHandler)
break;
}
$record = $this->database->fetchOneRecord($targetContainerId);
$targetContainerId = $record['tx_container_parent'] ?? 0;
$targetContainerId = (int)($record['tx_container_parent'] ?? 0);
}
}

Expand Down

0 comments on commit e57ba4c

Please sign in to comment.