* fix data source is my (which is no longer usable) by default.
This commit is contained in:
@@ -302,7 +302,7 @@ class ai extends control
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->inlink('promptSelectDataSource', "promptID=$promptID") . '#app=admin'));
|
||||
}
|
||||
|
||||
$this->view->activeDataSource = empty($prompt->module) ? 'my' : $prompt->module;
|
||||
$this->view->activeDataSource = empty($prompt->module) ? current(array_keys($this->config->ai->dataSource)) : $prompt->module;
|
||||
$this->view->dataSource = $this->config->ai->dataSource;
|
||||
$this->view->prompt = $prompt;
|
||||
$this->view->promptID = $promptID;
|
||||
|
||||
Reference in New Issue
Block a user