r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant...
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 20 Feb 2012 18:39:15 +0000 (18:39 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 20 Feb 2012 18:39:15 +0000 (18:39 +0000)
includes/RevisionList.php

index ccd2570..a61120e 100644 (file)
@@ -270,7 +270,7 @@ class RevisionItem extends RevisionItemBase {
        public function __construct( $list, $row ) {
                parent::__construct( $list, $row );
                $this->revision = new Revision( $row );
-               $this->context = $list->context;
+               $this->context = $list->getContext();
        }
 
        public function getIdField() {