dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't hardcode guzzle dependancies
[lhc/web/wiklou.git]
/
profileinfo.php
diff --git
a/profileinfo.php
b/profileinfo.php
index
0a60b08
..
d000972
100644
(file)
--- a/
profileinfo.php
+++ b/
profileinfo.php
@@
-37,9
+37,8
@@
*/
// This endpoint is supposed to be independent of request cookies and other
*/
// This endpoint is supposed to be independent of request cookies and other
-// details of the session. Log warnings for violations of the no-session
-// constraint.
-define( 'MW_NO_SESSION', 'warn' );
+// details of the session. Enforce this constraint with respect to session use.
+define( 'MW_NO_SESSION', 1 );
ini_set( 'zlib.output_compression', 'off' );
ini_set( 'zlib.output_compression', 'off' );
@@
-339,11
+338,7
@@
$res = $dbr->select(
[ 'ORDER BY' => 'pf_name ASC' ]
);
[ 'ORDER BY' => 'pf_name ASC' ]
);
-if ( isset( $_REQUEST['filter'] ) ) {
- $filter = $_REQUEST['filter'];
-} else {
- $filter = '';
-}
+$filter = $_REQUEST['filter'] ?? '';
?>
<form method="get" action="profileinfo.php">
?>
<form method="get" action="profileinfo.php">