Skip to content

Commit 5735901

Browse files
committed
typos
1 parent 2485e68 commit 5735901

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

imcger/activetopics/event/main_listener.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function set_template_vars($event)
7878
$this->forum_id = $event['forum_id'];
7979

8080
$sql = 'SELECT imcger_display_active_position FROM ' . FORUMS_TABLE . '
81-
WHERE forum_id = ' . $this->forum_id;
81+
WHERE forum_id = ' . (int) $this->forum_id;
8282

8383
$result = $this->db->sql_query($sql);
8484
$row = $this->db->sql_fetchrow($result);
@@ -101,7 +101,8 @@ public function set_template_vars_forum_name($event)
101101
$links_forum = '';
102102
$topic_forum_id = $topic_row['FORUM_ID'];
103103

104-
do {
104+
do
105+
{
105106
$sql = 'SELECT forum_name, parent_id FROM ' . FORUMS_TABLE . '
106107
WHERE forum_id = ' . (int) $topic_forum_id;
107108

imcger/activetopics/styles/prosilver/template/activetopics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
(function($) { // Avoid conflicts with other libraries
1111

1212
'use strict';
13-
13+
1414
// Move active topics to the top of forumlist
1515
if ($('.forumbg dt#active_topics').length) {
1616
$('.forabg').first().before($('.forumbg'));

0 commit comments

Comments
 (0)