ShuanghongS 6 months ago
parent
commit
018e2d4d76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/common.class.php

+ 2 - 2
utils/common.class.php

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