diff --git a/kernel/classes/ezcontentobjecttreenodeoperations.php b/kernel/classes/ezcontentobjecttreenodeoperations.php index 78fe1973b9b..b5ee3aa30ad 100644 --- a/kernel/classes/ezcontentobjecttreenodeoperations.php +++ b/kernel/classes/ezcontentobjecttreenodeoperations.php @@ -113,6 +113,8 @@ static function move( $nodeID, $newParentNodeID ) $nodeIDList = array( $nodeID ); eZSearch::removeNodeAssignment( $node->attribute( 'main_node_id' ), $newNode->attribute( 'main_node_id' ), $object->attribute( 'id' ), $nodeIDList ); eZSearch::addNodeAssignment( $newNode->attribute( 'main_node_id' ), $object->attribute( 'id' ), $nodeIDList, true ); + } else { + eZContentOperationCollection::registerSearchObject( $objectID, null, true ); } $result = true;