Skip to content

Commit

Permalink
Update PrintpageControllerBase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored Jul 21, 2023
1 parent cd4197e commit 615862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Document/PrintpageControllerBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function saveAction(Request $request): JsonResponse
list($task, $page, $version) = $this->saveDocument($page, $request);

if ($task === self::TASK_PUBLISH || $task === self::TASK_UNPUBLISH) {
$treeData = $this->getTreeNodeConfig($page);
$treeData = $this->getDocumentTreeNodeConfig($page);

return $this->adminJson([
'success' => true,
Expand Down

0 comments on commit 615862e

Please sign in to comment.