Skip to content
Snippets Groups Projects
Commit cb0a33aa authored by Michiel Roos's avatar Michiel Roos Committed by Markus Klein
Browse files

[BUGFIX] Regression: intval patch broke levelmedia

Change-Id: Ib1c877c1353844dfac1955c39c864a0974bd6b78
Resolves: #55706
Releases: 6.2
Reviewed-on: https://review.typo3.org/27573
Reviewed-by: Stefano Kowalke
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
parent 20e4417a
Branches
Tags
No related merge requests found
......@@ -272,7 +272,7 @@ class RootlineUtility {
$columnIsOverlaid = in_array($column, $pageOverlayFields, TRUE);
$table = $configuration['foreign_table'];
$field = $configuration['foreign_field'];
$whereClauseParts = array($field . ' = ' . (int)$columnIsOverlaid ? $uid : $pageRecord['uid']);
$whereClauseParts = array($field . ' = ' . (int)($columnIsOverlaid ? $uid : $pageRecord['uid']));
if (isset($configuration['foreign_match_fields']) && is_array($configuration['foreign_match_fields'])) {
foreach ($configuration['foreign_match_fields'] as $field => $value) {
$whereClauseParts[] = $field . ' = ' . $this->databaseConnection->fullQuoteStr($value, $table);
......
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