diff --git a/include/objectManager.php b/include/objectManager.php index f49c757..be0b458 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -1011,6 +1011,9 @@ class ObjectManager if($oCandidate->objectGetState() != 'accepted') continue; + if($oCandidate->objectGetId() == $this->iId) + continue; + echo html_tr(array($oCandidate->objectMakeLink(), "makeUrl("moveChildren", $this->iId). "&iNewId=".$oCandidate->objectGetId()."\">Move here"), ($i % 2) ? "color0" : "color1");