Code Duplication    Length = 5-5 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

@@ 2681-2685 (lines=5) @@
2678
					// so that calls using getvar('arLibrary') will keep on working
2679
					$arLibrary = "current";
2680
				}
2681
				if (!is_string($arCallArgs)) {
2682
					$arCallArgs['arCallFunction'] = $arCallFunction;
2683
					$arCallArgs['arLibrary'] = $arLibrary;
2684
					$arCallArgs['arLibraryPath'] = $template["arLibraryPath"];
2685
				}
2686
				$ARCurrent->arCallStack[]=$arCallArgs;
2687
				$this->pushContext(
2688
					array(
@@ 1969-1973 (lines=5) @@
1966
							$arLibrary = "current";
1967
						}
1968
1969
						if (!is_string($arCallArgs)) {
1970
							$arCallArgs['arCallFunction'] = $arCallFunction;
1971
							$arCallArgs['arLibrary'] = $arLibrary;
1972
							$arCallArgs['arLibraryPath'] = $template["arLibraryPath"];
1973
						}
1974
1975
						$ARCurrent->arCallStack[]=$arCallArgs;
1976
						// start running a pinp template