need to pass $ignore_acl of write to internal write call to update parent too

This commit is contained in:
Ralf Becker 2016-10-03 12:21:25 +02:00
parent 0c8d2ea9e6
commit 18642b02ea

View File

@ -1002,10 +1002,10 @@ class infolog_bo
$values_in = array_merge($values_in,$values);
// Update modified timestamp of parent
if($values['info_id_parent'])
if($values['info_id_parent'] && $touch_modified)
{
$parent = $this->read($values['info_id_parent'], false, 'server', true);
$this->write($parent,false, true, false, true);
$this->write($parent, false, true, false, true, false, null, $ignore_acl);
}
}
return $info_id;