mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
parent
ba2e294fe9
commit
13e3cf6c0d
16 changed files with 33 additions and 33 deletions
|
@ -53,7 +53,7 @@ if (!($result = DB()->sql_query($sql))) {
|
|||
bb_die('Could not obtain watch topic information #2');
|
||||
}
|
||||
$row = DB()->sql_fetchrow($result);
|
||||
$watch_count = ($row['watch_count']) ? $row['watch_count'] : 0;
|
||||
$watch_count = ($row['watch_count']) ?: 0;
|
||||
DB()->sql_freeresult($result);
|
||||
|
||||
if ($watch_count > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue