Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

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