mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 15:15:46 -07:00
Update index.php
This commit is contained in:
parent
df6a5fd25b
commit
93cfef9be8
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ if ($bb_cfg['bt_show_dl_stat_on_index'] && !IS_GUEST) {
|
|||
|
||||
// Latest news
|
||||
if ($bb_cfg['show_latest_news']) {
|
||||
if (!$latest_news = $datastore->get('latest_news')) {
|
||||
if (!$latest_news = $datastore->get('latest_news') and !$datastore->has('latest_news')) {
|
||||
$datastore->update('latest_news');
|
||||
$latest_news = $datastore->get('latest_news');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue