Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

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