From c445b5c5a66bf3f1ef1d9f05d86954c605abae07 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 20 Feb 2012 18:39:15 +0000 Subject: [PATCH] r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant code was broken (bug 34544) --- includes/RevisionList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/RevisionList.php b/includes/RevisionList.php index ccd2570026..a61120e79f 100644 --- a/includes/RevisionList.php +++ b/includes/RevisionList.php @@ -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() { -- 2.20.1