r25640 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25639‎ | r25640 | r25641 >
Date:14:36, 7 September 2007
Author:proes
Status:old
Tags:
Comment:
Minor change
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/Controller.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/Controller.php
@@ -392,7 +392,7 @@
393393 $definedMeaningAttributeId = $record->relationType;
394394 $definedMeaningValue = $record->otherDefinedMeaning;
395395
396 - if ($definedMeaningAttributeId != 0 && $definedMeaningValue != "")
 396+ if ($definedMeaningAttributeId != 0 && $definedMeaningValue != 0)
397397 addRelation($objectId, $definedMeaningAttributeId, $definedMeaningValue);
398398 }
399399

Status & tagging log