diff --git a/module/ai/control.php b/module/ai/control.php index d87cbf9304..a66e771b63 100644 --- a/module/ai/control.php +++ b/module/ai/control.php @@ -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)