Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

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