[Bug #1245] Fix issue when moving task to an un-direct descendant

FEA: ItEr75S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-11-10 12:03:30 +01:00
parent 0c98cad7aa
commit 24fae5503d

View file

@ -290,7 +290,9 @@ public abstract class EntitiesTree<T extends ITreeNode<T>> {
return true;
}
for (T each : children) {
return find(child, getChildren(each));
if (find(child, getChildren(each))) {
return true;
}
}
return false;
}