Skip to content

Commit

Permalink
fix: fix according to typo3 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tlayh committed Apr 29, 2024
1 parent 6901997 commit 82fde63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/System/Typo3/TCA.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ class TCA
public function processDatamap_preProcessFieldArray(
array &$incomingFieldArray,
string $table,
int $id,
string $id,
DataHandler $dataHandler
): void {
// @codingStandardsIgnoreEnd
if (
array_key_exists(self::FIELD_BEHAVIOR, $incomingFieldArray) &&
array_key_exists(self::FIELD_FLAG, $incomingFieldArray)
) {
$pid = $dataHandler->getPID($table, $id);
$pid = $dataHandler->getPID($table, (int) $id);
$this->updateMapping(
$table,
$id,
(int) $id,
$incomingFieldArray[self::FIELD_FLAG],
(int) $pid,
$incomingFieldArray[self::FIELD_BEHAVIOR]
Expand Down

0 comments on commit 82fde63

Please sign in to comment.