X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=8bd37dd4cb38259302cafd36dbeaf1113daa4677;hb=b7b8f214bb788c57ed1cc5ce70974f1a71df844c;hp=9ebd57b7a241e389056601d7ccc3c740a93773e8;hpb=264c8892d66b911498cc9d84f9f6fd288ddcceb2;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 9ebd57b7a2..8bd37dd4cb 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -396,8 +396,8 @@ if ( isset( $_REQUEST['filter'] ) ) { return htmlspecialchars( '?' . wfArrayToCgi( [ - 'filter' => $_filter ? $_filter : $filter, - 'sort' => $_sort ? $_sort : $sort, + 'filter' => $_filter ?: $filter, + 'sort' => $_sort ?: $sort, 'expand' => implode( ',', array_keys( $_expand ) ) ] ) );