0.3.14
This commit is contained in:
parent
6f85c6af5e
commit
27b569b7db
@ -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 {
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user