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

Change subject: Correctly indent one bit in api/FormatCsv
......................................................................


Correctly indent one bit in api/FormatCsv

Change-Id: I8e7f9f817cd04536121be15560d6979151539967
---
M api/includes/FormatCsv.php
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Jean-Frédéric: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/api/includes/FormatCsv.php b/api/includes/FormatCsv.php
index 89e2c90..2f7afe6 100644
--- a/api/includes/FormatCsv.php
+++ b/api/includes/FormatCsv.php
@@ -33,8 +33,9 @@
                $needComma = false;
                foreach ( $row as $name => $value ) {
                        if ( in_array( $name, $selectedItems ) ) {
-                               if ( $needComma ) { echo ',';
-          }
+                               if ( $needComma ) {
+                                       echo ',';
+                               }
                                echo self::csvQuote( $value );
                                $needComma = true;
                        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e7f9f817cd04536121be15560d6979151539967
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <lokal.pro...@gmail.com>
Gerrit-Reviewer: Jean-Frédéric <jeanfrederic.w...@gmail.com>
Gerrit-Reviewer: Multichill <maar...@mdammers.nl>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to