r60726 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60725‎ | r60726 | r60727 >
Date:10:46, 6 January 2010
Author:mkroetzsch
Status:deferred
Tags:
Comment:
typo in variable name
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php
@@ -62,7 +62,7 @@
6363 $result = new SMWDataValueFactory::$m_typeclasses['__lin']($typeid);
6464 } else { // type really unknown
6565 wfLoadExtensionMessages('SemanticMediaWiki');
66 - return new SMWErrorValue(wfMsgForContent('smw_unknowntype', $typevalue->getWikiValue() ), $value, $caption);
 66+ return new SMWErrorValue(wfMsgForContent('smw_unknowntype', $typeid ), $value, $caption);
6767 }
6868 if ($property !== NULL) $result->setProperty($property);
6969 if ($value !== false) $result->setUserValue($value,$caption);

Status & tagging log