- $resultsFromDatabase = $this->getRelations_procDB($dataValue, $dsConf, $uid, $field);
+ $resultsFromDatabase = $this->getRelations_procDB($dataValue, $dsConf, $uid, $table, $field);
if (!empty($resultsFromDatabase)) {
// Create an entry for the field with all DB relations:
$this->temp_flexRelations['db'][$structurePath] = $resultsFromDatabase;
if (!empty($resultsFromDatabase)) {
// Create an entry for the field with all DB relations:
$this->temp_flexRelations['db'][$structurePath] = $resultsFromDatabase;