|
|
@@ -2605,9 +2605,9 @@ class common {
|
|
|
|
|
|
$reference = $fixedChat["answer_style"];
|
|
|
$sql = $fixedChat["fixed_sql"];
|
|
|
- //if($_POST['is_demo'] == 't'){
|
|
|
+ if($_POST['is_demo'] == 't'){
|
|
|
$sql = utils::getDmoeSqlForAi($fixedChat["fixed_faq"]);
|
|
|
- //}
|
|
|
+ }
|
|
|
|
|
|
$sqlArr = explode(";", $sql);
|
|
|
$sqlCount = $sqlArr[0];
|