From 27b569b7db302f36b24f5372562f78689d040760 Mon Sep 17 00:00:00 2001 From: Garrett K Date: Wed, 3 Mar 2021 05:54:06 +0000 Subject: [PATCH] 0.3.14 --- backend/process_cable.php | 2 +- backend/retrieve_path_connector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/process_cable.php b/backend/process_cable.php index a4bc179..7d59e87 100755 --- a/backend/process_cable.php +++ b/backend/process_cable.php @@ -88,7 +88,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ $peerPort = $cable['remote_object_port']; $localAttrPrefix = $cable['localAttrPrefix']; - if(loopDetected($qls, $peerID, $peerFace, $peerDepth, $peerPort, $elementID, $elementFace, $elementDepth, $elementPort)) { + if($qls->App->loopDetected2($peerID, $peerFace, $peerDepth, $peerPort, $elementID, $elementFace, $elementDepth, $elementPort)) { $errMsg = 'Loop detected.'; array_push($validate->returnData['error'], $errMsg); } else { diff --git a/backend/retrieve_path_connector.php b/backend/retrieve_path_connector.php index 206a903..26d1b63 100755 --- a/backend/retrieve_path_connector.php +++ b/backend/retrieve_path_connector.php @@ -89,7 +89,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ $peerFace = $cable[$inverseConnectorAttributePrefix.'_object_face']; $peerDepth = $cable[$inverseConnectorAttributePrefix.'_object_depth']; $peerPort = $cable[$inverseConnectorAttributePrefix.'_port_id']; - if(loopDetected($qls, $peerID, $peerFace, $peerDepth, $peerPort, $elementID, $elementFace, $elementDepth, $elementPortIndex)) { + if($qls->App->loopDetected2($peerID, $peerFace, $peerDepth, $peerPort, $elementID, $elementFace, $elementDepth, $elementPortIndex)) { array_push($return['error'], 'Loop detected.'); } else { $qls->SQL->update(