mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
PR fixes
This commit is contained in:
parent
99786dda22
commit
660f80d284
@ -1325,10 +1325,6 @@ class DataQuery
|
||||
$tablePrefix = str_replace('"', '', $fieldData[0]);
|
||||
|
||||
// check if related table is available
|
||||
if (!$query->isJoinedTo($tablePrefix)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return $query->isJoinedTo($tablePrefix);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user