Fix WikiPage::commitRollback error message
authorGergő Tisza <tgr.huwiki@gmail.com>
Wed, 1 May 2019 04:34:41 +0000 (21:34 -0700)
committerGergő Tisza <tgr.huwiki@gmail.com>
Wed, 1 May 2019 04:34:41 +0000 (21:34 -0700)
The user got accidentally mixed up in Ifd23bc1cd6.

Bug: T222179
Change-Id: I4d45f68caf160f001420cf46ffcd2b46cc2ddac1

includes/page/WikiPage.php

index 931740c..8f39650 100644 (file)
@@ -3327,7 +3327,7 @@ class WikiPage implements Page, IDBAccessObject {
                        return [ [ 'alreadyrolled',
                                        htmlspecialchars( $this->mTitle->getPrefixedText() ),
                                        htmlspecialchars( $fromP ),
-                                       htmlspecialchars( $targetEditorForPublic ? $targetEditorForPublic->getName() : '' )
+                                       htmlspecialchars( $currentEditorForPublic ? $currentEditorForPublic->getName() : '' )
                        ] ];
                }