BUG tableName is blank in CompositeDBField->addToQuery

Added call to setTable() to ensure tableName is provided inside addToQuery method.
This commit is contained in:
Dominik Beerbohm 2018-01-26 08:46:50 +01:00
parent 72e2326731
commit 416915b082

View File

@ -490,6 +490,7 @@ class DataQuery {
if($compositeFields) foreach($compositeFields as $k => $v) {
if((is_null($columns) || in_array($k, $columns)) && $v) {
$dbO = Object::create_from_string($v, $k);
$dbO->setTable($tableClass);
$dbO->addToQuery($query);
}
}