mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
ad0cf6cda0
Any class implementing EchoEventPresentationModel and overriding the
getSecondaryLinks method should return an array (while getPrimaryLink
could return a false boolean value).
This change fixes the following errors:
Warning: array_values() expects parameter 1 to be an array or collection
in …/extensions/Echo/includes/formatters/EventPresentationModel.php on line 494
Warning: array_filter() expects parameter 1 to be an array or collection
in …/extensions/Echo/includes/formatters/EventPresentationModel.php on line 494
This is a follow-up for commit
|
||
---|---|---|
.. | ||
EchoEventDigestFormatter.php | ||
EchoEventFormatter.php | ||
EchoFlyoutFormatter.php | ||
EchoForeignPresentationModel.php | ||
EchoHtmlDigestEmailFormatter.php | ||
EchoHtmlEmailFormatter.php | ||
EchoIcon.php | ||
EchoModelFormatter.php | ||
EchoPlainTextDigestEmailFormatter.php | ||
EchoPlainTextEmailFormatter.php | ||
EditThresholdPresentationModel.php | ||
EditUserTalkPresentationModel.php | ||
EmailUserPresentationModel.php | ||
EventPresentationModel.php | ||
MentionPresentationModel.php | ||
MentionStatusPresentationModel.php | ||
PageLinkedPresentationModel.php | ||
PresentationModelSectionTrait.php | ||
RevertedPresentationModel.php | ||
SpecialNotificationsFormatter.php | ||
UserRightsPresentationModel.php | ||
WelcomePresentationModel.php |