Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 447-450 (lines=4) @@
444
445
	// public:
446
	function RenderOutput() {
447
		if (!$this->useRawIMoutput && !is_resource($this->gdimg_output)) {
448
			$this->DebugMessage('RenderOutput() failed because !is_resource($this->gdimg_output)', __FILE__, __LINE__);
449
			return false;
450
		}
451
		if (!$this->thumbnailFormat) {
452
			$this->DebugMessage('RenderOutput() failed because $this->thumbnailFormat is empty', __FILE__, __LINE__);
453
			return false;
@@ 617-620 (lines=4) @@
614
	function OutputThumbnail() {
615
		$this->purgeTempFiles();
616
617
		if (!$this->useRawIMoutput && !is_resource($this->gdimg_output)) {
618
			$this->DebugMessage('OutputThumbnail() failed because !is_resource($this->gdimg_output)', __FILE__, __LINE__);
619
			return false;
620
		}
621
		if (headers_sent()) {
622
			return $this->ErrorImage('OutputThumbnail() failed - headers already sent');
623
		}