X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fwidget%2FExpiryInputWidget.php;h=f9985eb9b2ac83c040818bafaec60d95af866d46;hb=7a206823e36c834b2dca44a7ea06b8a1451c26a6;hp=7395df1ce76bf7f23159c6decfc814d2fb7570a2;hpb=c004cfc116eb8c677c346f3db561fc3593a8fd99;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/widget/ExpiryInputWidget.php b/includes/widget/ExpiryInputWidget.php index 7395df1ce7..f9985eb9b2 100644 --- a/includes/widget/ExpiryInputWidget.php +++ b/includes/widget/ExpiryInputWidget.php @@ -42,7 +42,7 @@ class ExpiryInputWidget extends Widget { parent::__construct( $options ); $this->noDatePicker = $options['noDatePicker']; - $this->required = isset( $options['required'] ) ? $options['required'] : false; + $this->required = $options['required'] ?? false; // Properties $this->relativeInput = $relativeInput;