mediawiki-extensions-Echo/includes/api
Thiemo Kreuz d8a4b6ba91 Add missing isset() check to ApiEchoUnreadNotificationPages
…::getUnreadNotificationPagesFromForeign().

I'm not 100% sure if this fixes the code in a way it is
supposed to work. However, I see that getFromForeign() is
called 3 times in existing code, and 2 of these places
already do an isset() check. It looks like it was just
forgotten here.

Even if there is another issue to fix here, this patch:
a) silences the error, and
b) gives us more useful debug output.

Bug: T273479
Change-Id: I257620f646196c0554b9d86c849a02f5a8b9519c
2021-02-03 06:42:26 +00:00
..
Push Merge "Prefer UserIdentity::isRegistered over isAnon" 2020-12-23 08:25:04 +00:00
ApiCrossWiki.php Add strict "array" type hints to code expecting arrays 2019-10-24 15:18:58 +00:00
ApiEchoArticleReminder.php Prefer UserIdentity::isRegistered over isAnon 2020-12-23 07:15:30 +00:00
ApiEchoMarkRead.php Prefer UserIdentity::isRegistered over isAnon 2020-12-23 07:15:30 +00:00
ApiEchoMarkSeen.php Prefer UserIdentity::isRegistered over isAnon 2020-12-23 07:15:30 +00:00
ApiEchoMute.php Merge "Prefer UserIdentity::isRegistered over isAnon" 2020-12-23 08:25:04 +00:00
ApiEchoNotifications.php Prefer UserIdentity::isRegistered over isAnon 2020-12-23 07:15:30 +00:00
ApiEchoUnreadNotificationPages.php Add missing isset() check to ApiEchoUnreadNotificationPages 2021-02-03 06:42:26 +00:00