jenkins-bot has submitted this change and it was merged.

Change subject: Fixed use of wrong callback array element
......................................................................


Fixed use of wrong callback array element

bug: 56124
Change-Id: Ia9f058f42616f5c7c5936733747d0c3a8d56dc19
(cherry picked from commit 5b876967a7f49a25c299abb8e3d0ab172f80b164)
---
M includes/db/Database.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/db/Database.php b/includes/db/Database.php
index 5f175a4..42f8482 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -3906,7 +3906,7 @@
                if ( count( $this->mTrxIdleCallbacks ) || count( 
$this->mTrxPreCommitCallbacks ) ) {
                        $callers = array();
                        foreach ( $this->mTrxIdleCallbacks as $callbackInfo ) {
-                               $callers[] = $callbackInfo[0];
+                               $callers[] = $callbackInfo[1];
 
                        }
                        $callers = implode( ', ', $callers );

-- 
To view, visit https://gerrit.wikimedia.org/r/92428
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9f058f42616f5c7c5936733747d0c3a8d56dc19
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_22
Gerrit-Owner: PleaseStand <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to