Commit 2618039a authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Georg Ringer
Browse files

[BUGFIX] Cast to prevent PHP TypeError when using sqlite

sqlite3 doesn't return casted values right now, everything is a string.
Some methods require integers, e.g. uid of a record. In order to prevent
TypeError due to mismatch, values are casted to integer.

Resolves: #90515
Releases: master
Change-Id: Ibb1654a412f94b5bd511dac5bed75a1af0683fe9

Reviewed-by: Björn Jacob's avatarBjörn Jacob <>
Reviewed-by: Markus Klein's avatarMarkus Klein <>
Reviewed-by: default avatarChristian Eßl <>
Reviewed-by: Claus Due's avatarClaus Due <>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <>
Tested-by: Markus Klein's avatarMarkus Klein <>
Tested-by: default avatarChristian Eßl <>
Tested-by: default avatarTYPO3com <>
Tested-by: Claus Due's avatarClaus Due <>
Tested-by: Georg Ringer's avatarGeorg Ringer <>
parent a848ba4f
......@@ -111,7 +111,7 @@ class ContentFetcher
$rememberer = $this->backendLayout->getRecordRememberer();
foreach ($this->fetchedContentRecords[$this->backendLayout->getDrawingConfiguration()->getLanguageColumnsPointer()] ?? [] as $contentRecordsInColumn) {
foreach ($contentRecordsInColumn as $contentRecord) {
if (!$rememberer->isRemembered($contentRecord['uid']) && !in_array($contentRecord['colPos'], $knownColumnPositionNumbers)) {
if (!$rememberer->isRemembered((int)$contentRecord['uid']) && !in_array($contentRecord['colPos'], $knownColumnPositionNumbers)) {
$unrendered[] = $contentRecord;
......@@ -49,8 +49,8 @@ class GridColumnItem extends AbstractGridObject
$this->column = $column;
$this->record = $record;
public function isVersioned(): bool
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment