Skip to content

Commit 92d997c

Browse files
committed
Update globals
1 parent 622e563 commit 92d997c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎model/viewforum.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function get_page_head($forum_id, $num_pages, $p, $url_forum)
7676
// Returns forum action
7777
function get_forum_actions($forum_id, $subscriptions, $is_subscribed)
7878
{
79-
global $feather_user, $feather_config, $lang_forum, $lang_common;
79+
global $feather_user, $lang_forum, $lang_common;
8080

8181
$forum_actions = array();
8282

@@ -98,7 +98,7 @@ function get_forum_actions($forum_id, $subscriptions, $is_subscribed)
9898
// Returns the elements needed to display topics
9999
function print_topics($forum_id, $sort_by, $start_from)
100100
{
101-
global $db, $lang_common, $lang_index, $feather_user, $feather_config;
101+
global $db, $lang_common, $lang_forum, $feather_user, $feather_config;
102102

103103
// Get topic/forum tracking data
104104
if (!$feather_user['is_guest']) {

0 commit comments

Comments
 (0)