From: Aaron Schulz Date: Mon, 20 Feb 2012 18:39:15 +0000 (+0000) Subject: r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant... X-Git-Tag: 1.31.0-rc.0~24610 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=c445b5c5a66bf3f1ef1d9f05d86954c605abae07;p=lhc%2Fweb%2Fwiklou.git r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant code was broken (bug 34544) --- 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() {