X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=profileinfo.php;h=dccdd38ff6a1ca01d8585b07936fa87053b41481;hp=c65f952ac2c31257d92a7e5c3f5010decb679b78;hb=9f2ffdfbd4c289446f2baf8a168cbe89fa122157;hpb=578318e68856ef2f5258c67a50d815d06960e206 diff --git a/profileinfo.php b/profileinfo.php index c65f952ac2..dccdd38ff6 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -338,11 +338,7 @@ $res = $dbr->select( [ 'ORDER BY' => 'pf_name ASC' ] ); -if ( isset( $_REQUEST['filter'] ) ) { - $filter = $_REQUEST['filter']; -} else { - $filter = ''; -} +$filter = $_REQUEST['filter'] ?? ''; ?>