Skip to content

Commit

Permalink
fixed: setting parent_guid not being saved correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Nov 25, 2024
1 parent 0f15a83 commit 1a0ad9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/static/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@
}
}

elgg_call(ELGG_IGNORE_ACCESS, function() use ($entity, $values) {
elgg_call(ELGG_IGNORE_ACCESS, function() use ($entity, $values, $parent_guid) {
$entity->parent_guid = $parent_guid;

// save all the content
foreach ($values as $name => $value) {
if ($name === 'description') {
Expand Down

0 comments on commit 1a0ad9d

Please sign in to comment.