Index: trunk/extensions/Wikidata/OmegaWiki/Controller.php |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | $definedMeaningAttributeId = $record->relationType; |
394 | 394 | $definedMeaningValue = $record->otherDefinedMeaning; |
395 | 395 | |
396 | | - if ($definedMeaningAttributeId != 0 && $definedMeaningValue != "") |
| 396 | + if ($definedMeaningAttributeId != 0 && $definedMeaningValue != 0) |
397 | 397 | addRelation($objectId, $definedMeaningAttributeId, $definedMeaningValue); |
398 | 398 | } |
399 | 399 | |