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

--- Comment #8 from Christoph Kepper <christoph.kep...@pediapress.com> 
2011-10-27 07:01:08 UTC ---
I cannot commit files from the includes directory, but this patch might fix the
problem:

Index: includes/User.php
===================================================================
--- includes/User.php    (revision 100951)
+++ includes/User.php    (working copy)
@@ -3184,7 +3184,7 @@
      * @return String The new edit token
      */
     public function getEditToken( $salt = '', $request = null ) {
-        if ( $request == null ) {
+        if ( $request == null || get_class($request) == 'FauxRequest') {
             $request = $this->getRequest();
         }

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to