Skip to content

Commit

Permalink
Fixed issue where child elements get their 'published' status changed
Browse files Browse the repository at this point in the history
(like form trashed or unpublished back to published) when parent is
saved.  Also 'checkout out time'.
  • Loading branch information
cheesegrits committed Jan 17, 2015
1 parent eb18659 commit 05a28b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fabrik/models/element.php
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ private function updateChildIds(&$row)
}

$ids = $this->getElementDescendents($row->id);
$ignore = array('_tbl', '_tbl_key', '_db', 'id', 'group_id', 'created', 'created_by', 'parent_id', 'ordering');
$ignore = array('_tbl', '_tbl_key', '_db', 'id', 'group_id', 'created', 'created_by', 'parent_id', 'ordering', 'published', 'checked_out_time');
$pluginManager = JModelLegacy::getInstance('Pluginmanager', 'FabrikFEModel');

foreach ($ids as $id)
Expand Down

0 comments on commit 05a28b7

Please sign in to comment.