Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/120804

Change subject: Don't add empty change when coalescing client recent changes 
comments
......................................................................

Don't add empty change when coalescing client recent changes comments

Bug: 45812
Change-Id: Ibe2ec4f42b05ab19c1432b4e2f3ae5631a190f37
---
M client/includes/ChangeHandler.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/04/120804/1

diff --git a/client/includes/ChangeHandler.php 
b/client/includes/ChangeHandler.php
index c6363a7..da718d0 100644
--- a/client/includes/ChangeHandler.php
+++ b/client/includes/ChangeHandler.php
@@ -650,7 +650,7 @@
                        $rcinfo['comment'] = $this->getEditComment( $change );
 
                        if ( isset( $fields['info']['changes'] ) ) {
-                               $rcinfo['composite-comment'][] = array();
+                               $rcinfo['composite-comment'] = array();
 
                                foreach ( $fields['info']['changes'] as $part ) 
{
                                        $rcinfo['composite-comment'][] = 
$this->getEditComment( $part );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe2ec4f42b05ab19c1432b4e2f3ae5631a190f37
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to