r25045 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25044‎ | r25045 | r25046 >
Date:11:46, 22 August 2007
Author:kim
Status:old
Tags:
Comment:
And bug out. (Don't debug while sleepy)
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/OmegaWikiAttributes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWikiAttributes.php
@@ -46,7 +46,7 @@
4747 $instance[$viewInformation->hashCode()] = $instance["last"];
4848 }
4949 }
50 - if (is_null($instance["last"]) {
 50+ if (!array_key_exists("last", $instance)) {
5151 $instance["last"]=new ViewInformation();
5252 }
5353 return $instance["last"];

Status & tagging log