diff options
Diffstat (limited to 'includes/htmlform/fields/HTMLFileField.php')
-rw-r--r-- | includes/htmlform/fields/HTMLFileField.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/htmlform/fields/HTMLFileField.php b/includes/htmlform/fields/HTMLFileField.php index 3a06dcff2ca2..c00d822a1f0c 100644 --- a/includes/htmlform/fields/HTMLFileField.php +++ b/includes/htmlform/fields/HTMLFileField.php @@ -42,7 +42,7 @@ class HTMLFileField extends HTMLFormField { $this->mPlaceholder = $params['placeholder']; } - $this->mAccept = $params['accept'] ?: null; + $this->mAccept = $params['accept'] ?? null; $this->mMultiple = !empty( $params['multiple'] ); } |