Nikerabbit has uploaded a new change for review.

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

Change subject: Add missing continue to avoid PHP notice
......................................................................

Add missing continue to avoid PHP notice

PHP Notice: Undefined index: bh etc..

Change-Id: I18c0a07ab3624f8e7ae9d4e370ae18afe63f3fc8
---
M scripts/export.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/05/231805/1

diff --git a/scripts/export.php b/scripts/export.php
index 6553adc..3b0e55e 100644
--- a/scripts/export.php
+++ b/scripts/export.php
@@ -205,6 +205,7 @@
                                foreach ( $langs as $index => $code ) {
                                        if ( !isset( $stats[$code] ) ) {
                                                unset( $langs[$index] );
+                                               continue;
                                        }
 
                                        $total = 
$stats[$code][MessageGroupStats::TOTAL];

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18c0a07ab3624f8e7ae9d4e370ae18afe63f3fc8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>

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

Reply via email to