Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/279764
Change subject: Test
......................................................................
Test
Change-Id: I2a3ef86561215cbedc6404a7e5c7e092554ec9b2
---
M includes/formatters/NotificationFormatter.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/64/279764/1
diff --git a/includes/formatters/NotificationFormatter.php
b/includes/formatters/NotificationFormatter.php
index b7406d4..b9e3882 100644
--- a/includes/formatters/NotificationFormatter.php
+++ b/includes/formatters/NotificationFormatter.php
@@ -133,7 +133,7 @@
*/
public static function getIconUrl( $icon, $dir ) {
global $wgEchoNotificationIcons, $wgExtensionAssetsPath;
- if ( !isset( $wgEchoNotificationIcons[$icon] ) ) {
+ if ( isset( $wgEchoNotificationIcons[$icon] ) ) {
throw new InvalidArgumentException( "The $icon icon is
not registered" );
}
--
To view, visit https://gerrit.wikimedia.org/r/279764
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a3ef86561215cbedc6404a7e5c7e092554ec9b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: REL1_26
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits