Skip to content

Commit

Permalink
eZContentObject::removeThis() does not remove assigned nodes (ezsyste…
Browse files Browse the repository at this point in the history
  • Loading branch information
pkamps authored Dec 4, 2018
1 parent 23b25d2 commit 90f4206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/classes/ezcontentobject.php
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ function removeThis( $nodeID = null )
{
$db = eZDB::instance();
$db->begin();
foreach ( $additionalNodes as $additionalNode )
foreach ( $nodes as $additionalNode )
{
if ( $additionalNode->attribute( 'node_id' ) != $node->attribute( 'main_node_id' ) )
{
Expand Down

0 comments on commit 90f4206

Please sign in to comment.