X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fwidget%2FComplexTitleInputWidget.php;h=392e46dc89c3b450d440a530d47cd53457f12fa6;hb=8963110d01b0f376d900171fe7506fed5df80cf8;hp=ca6c8484d1ffb905a69340e7cd88a492f821b838;hpb=577f3d79115173f4dd16bb46f6d0ef2c82b55add;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/widget/ComplexTitleInputWidget.php b/includes/widget/ComplexTitleInputWidget.php index ca6c8484d1..392e46dc89 100644 --- a/includes/widget/ComplexTitleInputWidget.php +++ b/includes/widget/ComplexTitleInputWidget.php @@ -40,9 +40,7 @@ class ComplexTitleInputWidget extends \OOUI\Widget { $config['title'], [ 'relative' => true, - 'namespace' => isset( $config['namespace']['value'] ) ? - $config['namespace']['value'] : - null, + 'namespace' => $config['namespace']['value'] ?? null, ] ) );