mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 23:25:48 -07:00
Update index.php
This commit is contained in:
parent
93cfef9be8
commit
6e6f36023b
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ if ($bb_cfg['show_latest_news']) {
|
||||||
|
|
||||||
// Network news
|
// Network news
|
||||||
if ($bb_cfg['show_network_news']) {
|
if ($bb_cfg['show_network_news']) {
|
||||||
if (!$network_news = $datastore->get('network_news')) {
|
if (!$network_news = $datastore->get('network_news') and !$datastore->has('network_news')) {
|
||||||
$datastore->update('network_news');
|
$datastore->update('network_news');
|
||||||
$network_news = $datastore->get('network_news');
|
$network_news = $datastore->get('network_news');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue