Alex Monk has uploaded a new change for review.

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


Change subject: Fix API in XML format
......................................................................

Fix API in XML format

We weren't setting the XML tag name used for notifications, so this was causing 
a fatal error.

Bug: 48009
Change-Id: I676f7e7fee1167d02ed35920719105d3ca260e74
---
M api/ApiEchoNotifications.php
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php
index 45a2c91..15d41d8 100644
--- a/api/ApiEchoNotifications.php
+++ b/api/ApiEchoNotifications.php
@@ -31,6 +31,7 @@
                        } else {
                                $result['more'] = '0';
                        }
+                       $this->getResult()->setIndexedTagName( $result['list'], 
'notification' );
                }
 
                if ( in_array( 'count', $prop ) ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I676f7e7fee1167d02ed35920719105d3ca260e74
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to