* [bug#60364] Set parent when edit doc.

This commit is contained in:
xieqiyu
2025-03-20 09:05:16 +08:00
committed by 王于听
parent 277f6a75bb
commit 1476cd0d40
+1 -1
View File
@@ -90,7 +90,7 @@ formPanel
(
set::name('parent'),
set::items($modalType != 'chapter' ? array(0 => '/') + $chapterAndDocs : $chapterAndDocs),
set::value(!empty($doc->parent) ? $doc->parent : $parentID),
set::value(!empty($doc->parent) ? $doc->parent : "m_{$doc->module}"),
set::required(true)
),
) : null,