https://bugzilla.wikimedia.org/show_bug.cgi?id=37136

Nate Lenart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Nate Lenart <[email protected]> 2012-09-14 18:02:09 UTC 
---
I have reproduced this bug.

On MediaWiki 1.19.2 (installed into /var/www/html), using latest FlaggedRevs
from git.

PHP Notice:  Undefined property: RevisionList::$context in
/var/www/html/includes/RevisionList.php on line 261
PHP Fatal error:  Call to a member function getUser() on a non-object in
/var/www/html/includes/RevisionList.php on line 281

Looking at /var/www/html/includes/RevisionList.php:261, we have:
$this->context = $list->context;
$context is private in /var/www/html/includes/context/ContextSource.php.
Proposed new line:
$this->context = $list->getContext();

Seems to have fixed the issue for me.

(I'm new to BugZilla and I don't know how submit a diff/patch to this
conversation or format comments.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to