r24093 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24092‎ | r24093 | r24094 >
Date:19:55, 14 July 2007
Author:proes
Status:old
Tags:
Comment:
Solved bugs: saving did not work anymore due to errors in Controller.php.
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/Controller.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/Controller.php
@@ -154,7 +154,7 @@
155155 $definitionIdAttribute;
156156
157157 $definitionId = $keyPath->peek(1)->getAttributeValue($definitionIdAttribute);
158 - $languageId = $keyPath->peek(0)->$language;
 158+ $languageId = $keyPath->peek(0)->language;
159159
160160 removeTranslatedText($definitionId, $languageId);
161161 }
@@ -205,7 +205,7 @@
206206 $expressionValue = $record->getAttributeValue($expressionAttribute);
207207
208208 if ($this->filterLanguageId == 0) {
209 - $languageId = $expressionValue->$language;
 209+ $languageId = $expressionValue->language;
210210 $spelling = $expressionValue->getAttributeValue($spellingAttribute);
211211 }
212212 else {

Status & tagging log