mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
SpecialNotificationsMarkRead: Don't pass null to explode()
Bug: T377920 Change-Id: I426c76dbf2e8da4563e93fefe6bd628faa0e13b7
This commit is contained in:
parent
7ff17f90ee
commit
a76cc44a60
|
@ -54,7 +54,7 @@ class SpecialNotificationsMarkRead extends FormSpecialPage {
|
|||
'default' => $this->par,
|
||||
'filter-callback' => static function ( $value, $alldata ) {
|
||||
// Allow for a single value or a set of values
|
||||
return explode( ',', $value );
|
||||
return explode( ',', $value ?? '' );
|
||||
},
|
||||
'validation-callback' => function ( $value, $alldata ) {
|
||||
if ( $value === [ 'ALL' ] ) {
|
||||
|
|
Loading…
Reference in a new issue