X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=d000972051e5dc50a8136f8c98a9e0774e10e188;hb=694fef93eaab44609c35598c1740a098c18c2320;hp=c65f952ac2c31257d92a7e5c3f5010decb679b78;hpb=a847221f07753419177dfb97108581d31904e44c;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index c65f952ac2..d000972051 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'] ?? ''; ?>