Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 2 locations

@@ 448-449 (lines=2) @@
445
			$user_settings = $smcFunc['db_fetch_assoc']($request);
446
			$smcFunc['db_free_result']($request);
447
448
			if (!empty($modSettings['force_ssl']) && $image_proxy_enabled && stripos($user_settings['avatar'], 'http://') !== false)
449
				$user_settings['avatar'] = strtr($boardurl, array('http://' => 'https://')) . '/proxy.php?request=' . urlencode($user_settings['avatar']) . '&hash=' . md5($user_settings['avatar'] . $image_proxy_secret);
450
451
			if (!empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
452
				cache_put_data('user_settings-' . $id_member, $user_settings, 60);
@@ 1283-1284 (lines=2) @@
1280
		while ($row = $smcFunc['db_fetch_assoc']($request))
1281
		{
1282
			// Take care of proxying avatar if required, do this here for maximum reach
1283
			if ($image_proxy_enabled && !empty($row['avatar']) && stripos($row['avatar'], 'http://') !== false)
1284
				$row['avatar'] = $boardurl . '/proxy.php?request=' . urlencode($row['avatar']) . '&hash=' . md5($row['avatar'] . $image_proxy_secret);
1285
1286
			if ( isset($row['member_ip']) )
1287
				$row['member_ip'] = inet_dtop($row['member_ip']);