mirror of
https://github.com/friendica/friendica
synced 2025-04-19 19:50:11 +00:00
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
This commit is contained in:
parent
8998926e5b
commit
f59ea2af55
40 changed files with 115 additions and 94 deletions
|
@ -20,7 +20,7 @@ class WebFinger extends BaseModule
|
|||
throw $e;
|
||||
}
|
||||
|
||||
$addr = defaults($_GET, 'addr', '');
|
||||
$addr = $_GET['addr'] ?? '';
|
||||
$res = '';
|
||||
|
||||
if (!empty($addr)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue