* fix save prompt will publish it.
This commit is contained in:
@@ -410,7 +410,7 @@ class ai extends control
|
||||
$prompt->desc = $data->desc;
|
||||
|
||||
$this->ai->updatePrompt($prompt, $originalPrompt);
|
||||
$this->ai->togglePromptStatus($prompt, 'active');
|
||||
if($isJumpToNext) $this->ai->togglePromptStatus($prompt, 'active');
|
||||
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
if($isJumpToNext)
|
||||
|
||||
Reference in New Issue
Block a user