Code Duplication    Length = 2-6 lines in 2 locations

Sources/Subs-Auth.php 2 locations

@@ 338-339 (lines=2) @@
335
			if (!isset($temp[$k]))
336
				$query_string .= urlencode($k) . '=' . urlencode($v) . ';';
337
			// If it changed, put it out there, but with an ampersand.
338
			elseif ($temp[$k] != $get[$k])
339
				$query_string .= urlencode($k) . '=' . urlencode($v) . '&';
340
		}
341
	}
342
	else
@@ 342-347 (lines=6) @@
339
				$query_string .= urlencode($k) . '=' . urlencode($v) . '&';
340
		}
341
	}
342
	else
343
	{
344
		// Add up all the data from $_GET into get_data.
345
		foreach ($get as $k => $v)
346
			$query_string .= urlencode($k) . '=' . urlencode($v) . ';';
347
	}
348
349
	$query_string = substr($query_string, 0, -1);
350
	return $query_string;