[various] Replace deprecated defaults() calls by ?? operator
This commit is contained in:
@@ -114,7 +114,7 @@ function irc_content(&$a) {
|
||||
if($autochans)
|
||||
$channels = $autochans;
|
||||
else
|
||||
$channels = defaults($_GET, 'channels', 'friendica');
|
||||
$channels = ($_GET['channels'] ?? '') ?: 'friendica';
|
||||
|
||||
/* add the chatroom frame and some html */
|
||||
$o .= <<< EOT
|
||||
|
||||
Reference in New Issue
Block a user