Fix global atom feed name

Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
Yuriy Pikhtarev 2018-06-24 22:07:54 +03:00
commit 1ca6e07ef6
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6

View file

@ -29,7 +29,7 @@ class Atom
$file_path = $bb_cfg['atom']['path'] . '/f/' . $forum_id . '.atom'; $file_path = $bb_cfg['atom']['path'] . '/f/' . $forum_id . '.atom';
$select_tor_sql = $join_tor_sql = ''; $select_tor_sql = $join_tor_sql = '';
if ($forum_id == 0) { if ($forum_id == 0) {
$forum_data['forum_name'] = $lang['ATOM_GLOBAL_FEED']; $forum_data['forum_name'] = $lang['ATOM_GLOBAL_FEED'] ?? $bb_cfg['server_name'];
} }
if ($forum_id > 0 && $forum_data['allow_reg_tracker']) { if ($forum_id > 0 && $forum_data['allow_reg_tracker']) {
$select_tor_sql = ', tor.size AS tor_size, tor.tor_status'; $select_tor_sql = ', tor.size AS tor_size, tor.tor_status';