mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r86
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@86 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
78b7c36c74
commit
50bd1f02b7
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ switch ($mode)
|
|||
|
||||
//Обновление кеша новостей на главной
|
||||
$news_forums = array_flip(explode(',', $bb_cfg['latest_news_forum_id']));
|
||||
if(isset(($news_forums[$forum_id] || $news_forums[$new_forum_id])) && $bb_cfg['show_latest_news'] && $result)
|
||||
if((isset($news_forums[$forum_id]) || isset($news_forums[$new_forum_id])) && $bb_cfg['show_latest_news'] && $result)
|
||||
{
|
||||
$datastore->enqueue('latest_news');
|
||||
$atastore->update('latest_news');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue