Code Duplication    Length = 5-5 lines in 2 locations

main/inc/lib/magpierss/extlib/Snoopy.class.inc 2 locations

@@ 280-284 (lines=5) @@
277
278
		// catenate the non-empty matches from the conditional subpattern
279
280
		while(list($key,$val) = each($links[2]))
281
		{
282
			if(!empty($val))
283
				$match[] = $val;
284
		}				
285
		
286
		while(list($key,$val) = each($links[3]))
287
		{
@@ 286-290 (lines=5) @@
283
				$match[] = $val;
284
		}				
285
		
286
		while(list($key,$val) = each($links[3]))
287
		{
288
			if(!empty($val))
289
				$match[] = $val;
290
		}		
291
		
292
		// return the links
293
		return $match;