Code Duplication    Length = 5-5 lines in 2 locations

Sources/Subs.php 2 locations

@@ 4375-4379 (lines=5) @@
4372
			$smcFunc['db_free_result']($query);
4373
		}
4374
4375
		if (!empty($context['num_errors']))
4376
		{
4377
			$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>';
4378
			$context['menu_buttons']['admin']['sub_buttons']['errorlog']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>';
4379
		}
4380
	}
4381
4382
	// Show number of reported members
@@ 4389-4393 (lines=5) @@
4386
		$context['menu_buttons']['moderate']['sub_buttons']['reported_members']['title'] .= ' <span class="amt">' . $context['open_member_reports'] . '</span>';
4387
	}
4388
4389
	if (!empty($context['unapproved_members']))
4390
	{
4391
		$context['menu_buttons']['admin']['sub_buttons']['memberapprove']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>';
4392
		$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>';
4393
	}
4394
4395
	// Do we have any open reports?
4396
	if ($total_mod_reports > 0)