mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -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
|
@ -555,7 +555,7 @@ switch ($mode) {
|
|||
'POSTER_NAME' => wbr($poster),
|
||||
'POST_DATE' => $post_date,
|
||||
'MESSAGE' => $message,
|
||||
'CHECKBOX' => (defined('BEGIN_CHECKBOX')) ? true : false,
|
||||
'CHECKBOX' => defined('BEGIN_CHECKBOX'),
|
||||
'POST_ID' => $post_id,
|
||||
'ROW_ID' => $i,
|
||||
'CB_ID' => 'cb_' . $i,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue