Code Duplication    Length = 3-3 lines in 2 locations

lib/elFinderVolumeDriver.class.php 2 locations

@@ 5555-5557 (lines=3) @@
5552
				    return false;
5553
				}
5554
5555
				if ($s[2] === IMAGETYPE_GIF || $s[2] === IMAGETYPE_PNG) {
5556
				    $bgcolor = 'rgba(255, 255, 255, 0.0)';
5557
				}
5558
				if ($img->getNumberImages() > 1) {
5559
				    $img = $img->coalesceImages();
5560
				    do {
@@ 5577-5579 (lines=3) @@
5574
5575
			case 'convert':
5576
				extract($this->imageMagickConvertPrepare($path, $destformat, $jpgQuality, $s));
5577
				if ($s[2] === IMAGETYPE_GIF || $s[2] === IMAGETYPE_PNG) {
5578
				    $bgcolor = 'rgba(255, 255, 255, 0.0)';
5579
				}
5580
				$cmd = sprintf('convert %s%s%s -background "%s" -rotate %d%s %s', $quotedPath, $coalesce, $jpgQuality, $bgcolor, $degree, $deconstruct, $quotedDstPath);
5581
5582
				$result = false;