Index: trunk/extensions/Wikidata/OmegaWiki/RecordSetQueries.php |
— | — | @@ -134,7 +134,7 @@ |
135 | 135 | if (count($tableColumns) == 1) |
136 | 136 | $value = $row[$columnIndex]; |
137 | 137 | else |
138 | | - $value = getRecordFromRow($row, $columnIndex, $attribute->getStructure()); |
| 138 | + $value = getRecordFromRow($row, $columnIndex, $attribute->type); |
139 | 139 | |
140 | 140 | $record->setAttributeValue($attribute, $value); |
141 | 141 | $columnIndex += count($tableColumns); |