Index: trunk/extensions/Wikidata/OmegaWiki/Controller.php |
— | — | @@ -545,6 +545,7 @@ |
546 | 546 | $attributeId = $idPath->getKeyStack()->peek( 0 )->classAttributeId; |
547 | 547 | $optionMeaningId = $record->optionAttributeOption; |
548 | 548 | $languageId = $record->language; |
| 549 | + if ( $languageId == NULL ) $languageId = 0 ; |
549 | 550 | |
550 | 551 | if ( $optionMeaningId ) |
551 | 552 | addOptionAttributeOption( $attributeId, $optionMeaningId, $languageId ); |