Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWikiAttributes.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | $instance[$viewInformation->hashCode()] = $instance["last"]; |
48 | 48 | } |
49 | 49 | } |
50 | | - if (is_null($instance["last"]) { |
| 50 | + if (!array_key_exists("last", $instance)) { |
51 | 51 | $instance["last"]=new ViewInformation(); |
52 | 52 | } |
53 | 53 | return $instance["last"]; |