File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
styles/prosilver/template Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function set_template_vars($event)
78
78
$ this ->forum_id = $ event ['forum_id ' ];
79
79
80
80
$ sql = 'SELECT imcger_display_active_position FROM ' . FORUMS_TABLE . '
81
- WHERE forum_id = ' . $ this ->forum_id ;
81
+ WHERE forum_id = ' . ( int ) $ this ->forum_id ;
82
82
83
83
$ result = $ this ->db ->sql_query ($ sql );
84
84
$ row = $ this ->db ->sql_fetchrow ($ result );
@@ -101,7 +101,8 @@ public function set_template_vars_forum_name($event)
101
101
$ links_forum = '' ;
102
102
$ topic_forum_id = $ topic_row ['FORUM_ID ' ];
103
103
104
- do {
104
+ do
105
+ {
105
106
$ sql = 'SELECT forum_name, parent_id FROM ' . FORUMS_TABLE . '
106
107
WHERE forum_id = ' . (int ) $ topic_forum_id ;
107
108
Original file line number Diff line number Diff line change 10
10
( function ( $ ) { // Avoid conflicts with other libraries
11
11
12
12
'use strict' ;
13
-
13
+
14
14
// Move active topics to the top of forumlist
15
15
if ( $ ( '.forumbg dt#active_topics' ) . length ) {
16
16
$ ( '.forabg' ) . first ( ) . before ( $ ( '.forumbg' ) ) ;
You can’t perform that action at this time.
0 commit comments