Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

@@ 2663-2665 (lines=3) @@
2660
				$template = $this->getPinpTemplate($arCallFunction, $redirpath, $redir["dest"], false, $arLibrariesSeen, $arSuperContext);
2661
				$redirpath = $redir['src'];
2662
			}
2663
			if (!$template["arTemplateId"]) {
2664
				$template = $this->getPinpTemplate($arCallFunction, $redirpath, '', false, $arLibrariesSeen, $arSuperContext);
2665
			}
2666
		}
2667
		if (!$template["arTemplateId"]) {
2668
			$template = $this->getPinpTemplate($arCallFunction, $this->path, '', false, $arLibrariesSeen, $arSuperContext);
@@ 2667-2669 (lines=3) @@
2664
				$template = $this->getPinpTemplate($arCallFunction, $redirpath, '', false, $arLibrariesSeen, $arSuperContext);
2665
			}
2666
		}
2667
		if (!$template["arTemplateId"]) {
2668
			$template = $this->getPinpTemplate($arCallFunction, $this->path, '', false, $arLibrariesSeen, $arSuperContext);
2669
		}
2670
		if ($template["arCallTemplate"] && $template["arTemplateId"]) {
2671
			$arTemplates=$this->store->get_filestore("templates");
2672
			if ($arTemplates->exists($template["arTemplateId"], $template["arCallTemplate"].".inc")) {