Skip to content

Commit d863338

Browse files
authored
[6.0] Fix version history not working for frontend article editing (#46358)
1 parent 650f6e8 commit d863338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/MVC/Model/AdminModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ public function save($data)
14671467
}
14681468

14691469
if ($this instanceof VersionableModelInterface) {
1470-
$this->saveHistory($data, $context);
1470+
$this->saveHistory($data, $this->typeAlias);
14711471
}
14721472

14731473
if ($app->getInput()->get('task') == 'editAssociations') {

0 commit comments

Comments
 (0)