Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
This commit is contained in:
parent
074493a29e
commit
d836593a3b
42 changed files with 80 additions and 80 deletions
|
@ -109,7 +109,7 @@ function irc_content(&$a) {
|
|||
if($autochans)
|
||||
$channels = $autochans;
|
||||
else
|
||||
$channels = ((x($_GET,'channels')) ? $_GET['channels'] : 'friendica');
|
||||
$channels = defaults($_GET, 'channels', 'friendica');
|
||||
|
||||
/* add the chatroom frame and some html */
|
||||
$o .= <<< EOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue