! [Tidy Child Boards plugin] Oops, forgot a small test.
gruffen

gruffen commited on 2011-08-01 15:14:49
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -33,7 +33,7 @@ function shdp_tidy_child_boards_process(&$boardIndexOptions, &$categories)
33 33
 {
34 34
 	global $settings, $modSettings, $context, $txt;
35 35
 
36
-	if (empty($modSettings['tidy_child_boards']) || $modSettings['tidy_child_boards'] < 2 || $modSettings['tidy_child_boards'] > 4)
36
+	if (!in_array('tally', $context['shd_plugins']) || empty($modSettings['tidy_child_boards']) || $modSettings['tidy_child_boards'] < 2 || $modSettings['tidy_child_boards'] > 4)
37 37
 		return;
38 38
 
39 39
 	if (file_exists($settings['theme_dir'] . '/images/on.png'))
40 40