mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
[various] Replace deprecated defaults() calls by ?? operator
This commit is contained in:
parent
ce7b5ff6ac
commit
acdd62da3e
12 changed files with 27 additions and 26 deletions
|
@ -480,7 +480,7 @@ function jappixmini_script(App $a)
|
|||
return;
|
||||
}
|
||||
|
||||
if (defaults($_GET, "mode", '') == "minimal") {
|
||||
if (($_GET['mode'] ?? '') == 'minimal') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue