Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

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