Code Duplication    Length = 7-7 lines in 2 locations

htdocs/modules/system/class/thumbs/phpthumb.gif.php 2 locations

@@ 530-536 (lines=7) @@
527
		$this->m_nPixelRatio = ord(substr($lpData, 12, 1));
528
		$hdrLen = 13;
529
530
		if ($this->m_bGlobalClr) {
531
			$this->m_colorTable = new CGIFCOLORTABLE();
532
			if (!$this->m_colorTable->load(substr($lpData, $hdrLen), $this->m_nTableSize)) {
533
				return false;
534
			}
535
			$hdrLen += 3 * $this->m_nTableSize;
536
		}
537
538
		return true;
539
	}
@@ 601-607 (lines=7) @@
598
		$this->m_nTableSize = 2 << ($b & 0x07);
599
		$hdrLen = 9;
600
601
		if ($this->m_bLocalClr) {
602
			$this->m_colorTable = new CGIFCOLORTABLE();
603
			if (!$this->m_colorTable->load(substr($lpData, $hdrLen), $this->m_nTableSize)) {
604
				return false;
605
			}
606
			$hdrLen += 3 * $this->m_nTableSize;
607
		}
608
609
		return true;
610
	}