Index: trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php |
— | — | @@ -233,7 +233,7 @@ |
234 | 234 | $sql = |
235 | 235 | 'SELECT attribute_mid, spelling' . |
236 | 236 | " FROM {$dc}_bootstrapped_defined_meanings, {$dc}_class_attributes, {$dc}_syntrans, {$dc}_expression_ns" . |
237 | | - ' WHERE bootstrapped_defined_meanings.name = ' . $dbr->addQuotes($attributesLevel) . |
| 237 | + " WHERE {$dc}_bootstrapped_defined_meanings.name = " . $dbr->addQuotes($attributesLevel) . |
238 | 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" . |