Index: trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php |
— | — | @@ -232,9 +232,9 @@ |
233 | 233 | $dbr =& wfGetDB(DB_SLAVE); |
234 | 234 | $sql = |
235 | 235 | 'SELECT attribute_mid, spelling' . |
236 | | - " FROM bootstrapped_defined_meanings, {$dc}_class_attributes, {$dc}_syntrans, {$dc}_expression_ns" . |
| 236 | + " FROM {$dc}_bootstrapped_defined_meanings, {$dc}_class_attributes, {$dc}_syntrans, {$dc}_expression_ns" . |
237 | 237 | ' WHERE bootstrapped_defined_meanings.name = ' . $dbr->addQuotes($attributesLevel) . |
238 | | - " AND bootstrapped_defined_meanings.defined_meaning_id = {$dc}_class_attributes.level_mid" . |
| 238 | + " AND {$dc}_bootstrapped_defined_meanings.defined_meaning_id = {$dc}_class_attributes.level_mid" . |
239 | 239 | " AND {$dc}_class_attributes.attribute_type = " . $dbr->addQuotes($attributesType) . |
240 | 240 | " AND {$dc}_syntrans.defined_meaning_id = {$dc}_class_attributes.attribute_mid" . |
241 | 241 | " AND {$dc}_expression_ns.expression_id = {$dc}_syntrans.expression_id"; |