Skip to content

Commit

Permalink
[ezpublish legacy] include assigned nodes into the removethis process (
Browse files Browse the repository at this point in the history
#1406)

* requirement
** node id is used as parameter
** used node id is the main one
* context : known context is the unpublish feature
  • Loading branch information
FatalError404 authored and andrerom committed Dec 2, 2018
1 parent d21957b commit 6ba7c8a
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 @@ -1986,7 +1986,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 6ba7c8a

Please sign in to comment.