Merge pull request #73 from marc1706/master

Fix incorrect config_name in portal_recent.php
This commit is contained in:
Marc Alexander
2012-05-14 15:23:04 -07:00

View File

@@ -65,7 +65,7 @@ class portal_recent_module
{ {
$exclude_forums = explode(',', $config['board3_recent_forum_' . $module_id]); $exclude_forums = explode(',', $config['board3_recent_forum_' . $module_id]);
$sql_where = ' AND ' . $db->sql_in_set('forum_id', array_map('intval', $exclude_forums), ($config['board3_exclude_forums_' . $module_id]) ? true : false); $sql_where = ' AND ' . $db->sql_in_set('forum_id', array_map('intval', $exclude_forums), ($config['board3_recent_exclude_forums_' . $module_id]) ? true : false);
} }
// Get a list of forums the user cannot read // Get a list of forums the user cannot read