* [task#143975,doing,0.1h] Moidfy the problem of code review.
This commit is contained in:
@@ -4624,8 +4624,7 @@ class docModel extends model
|
||||
foreach($chapterList as $oldChapterID => $chapter)
|
||||
{
|
||||
unset($chapter->id);
|
||||
$chapterVision = 'rnd';
|
||||
$chapter->vision = $chapterVision;
|
||||
$chapter->vision = 'rnd';
|
||||
$chapter->template = $newTemplateID;
|
||||
$this->dao->insert(TABLE_DOC)->data($chapter)->exec();
|
||||
$newChapterID = $this->dao->lastInsertID();
|
||||
|
||||
Reference in New Issue
Block a user