mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +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
|
||
---|---|---|
.. | ||
api | ||
cache | ||
controller | ||
exception | ||
formatters | ||
gateway | ||
iterator | ||
jobs | ||
mapper | ||
model | ||
ooui | ||
special | ||
AttributeManager.php | ||
Bundleable.php | ||
Bundler.php | ||
ContainmentSet.php | ||
DataOutputFormatter.php | ||
DeferredMarkAsDeletedUpdate.php | ||
DiffParser.php | ||
DiscussionParser.php | ||
EchoDbFactory.php | ||
EmailBatch.php | ||
EmailFormat.php | ||
EmailFrequency.php | ||
EventLogging.php | ||
ForeignNotifications.php | ||
ForeignWikiRequest.php | ||
Notifier.php | ||
NotifUser.php | ||
ResourceLoaderEchoImageModule.php | ||
schemaUpdate.php | ||
SeenTime.php | ||
UnreadWikis.php | ||
UserLocator.php |