mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Code Inspection: Ternary expression can be replaced with condition (#728)
This commit is contained in:
parent
4e40a4bcd4
commit
de076c80ef
13 changed files with 29 additions and 29 deletions
|
@ -66,7 +66,7 @@ if ($is_moderator) {
|
|||
'GROUP_DESCRIPTION' => htmlCHR($group_info['group_description']),
|
||||
'GROUP_SIGNATURE' => htmlCHR($group_info['group_signature']),
|
||||
'U_GROUP_URL' => GROUP_URL . $group_id,
|
||||
'RELEASE_GROUP' => $group_info['release_group'] ? true : false,
|
||||
'RELEASE_GROUP' => (bool)$group_info['release_group'],
|
||||
'GROUP_TYPE' => $group_type,
|
||||
'S_GROUP_OPEN_TYPE' => GROUP_OPEN,
|
||||
'S_GROUP_CLOSED_TYPE' => GROUP_CLOSED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue