Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 2 locations

@@ 426-427 (lines=2) @@
423
			$user_settings = $smcFunc['db_fetch_assoc']($request);
424
			$smcFunc['db_free_result']($request);
425
426
			if (!empty($modSettings['force_ssl']) && $image_proxy_enabled && stripos($user_settings['avatar'], 'http://') !== false)
427
				$user_settings['avatar'] = strtr($boardurl, array('http://' => 'https://')) . '/proxy.php?request=' . urlencode($user_settings['avatar']) . '&hash=' . md5($user_settings['avatar'] . $image_proxy_secret);
428
429
			if (!empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
430
				cache_put_data('user_settings-' . $id_member, $user_settings, 60);
@@ 1261-1262 (lines=2) @@
1258
		while ($row = $smcFunc['db_fetch_assoc']($request))
1259
		{
1260
			// Take care of proxying avatar if required, do this here for maximum reach
1261
			if ($image_proxy_enabled && !empty($row['avatar']) && stripos($row['avatar'], 'http://') !== false)
1262
				$row['avatar'] = $boardurl . '/proxy.php?request=' . urlencode($row['avatar']) . '&hash=' . md5($row['avatar'] . $image_proxy_secret);
1263
1264
			if ( isset($row['member_ip']) )
1265
				$row['member_ip'] = inet_dtop($row['member_ip']);