Bartosz Dziewoński has uploaded a new change for review.

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

Change subject: Fix = vs ==
......................................................................

Fix = vs ==

Clearly an assignment wasn't intended here.

Change-Id: I938d8042fb41c2a32c26fb2a99df5e6baa2f1551
---
M VectorBeta.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VectorBeta 
refs/changes/98/141298/1

diff --git a/VectorBeta.hooks.php b/VectorBeta.hooks.php
index ddcecee..9b3591d 100644
--- a/VectorBeta.hooks.php
+++ b/VectorBeta.hooks.php
@@ -34,7 +34,7 @@
                        $className .= 'mw-menu-item mw-icon mw-' . $key . 
'-icon';
                        if ( strpos( $item['id'], 'ca-nstab' ) === 0 ) {
                                $className .= ' mw-page-icon';
-                       } elseif ( $item['id'] = 'ca-talk' ) {
+                       } elseif ( $item['id'] == 'ca-talk' ) {
                                $className .= ' mw-talk-icon';
                        }
                        $htmlMenu .= Html::openElement( 'li', array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I938d8042fb41c2a32c26fb2a99df5e6baa2f1551
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VectorBeta
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>

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

Reply via email to