* convert schema keys to lower, partly fix bug #36866.

This commit is contained in:
liwenrui
2023-07-27 10:14:11 +08:00
parent 1e2ac0f70f
commit fa125bc823
+1 -1
View File
@@ -712,7 +712,7 @@ class aiModel extends model
$targetForm = $this->config->ai->targetForm[$formPath[0]][$formPath[1]];
if(empty($targetForm)) return array();
$schema = $this->lang->ai->formSchema[$targetForm->m][$targetForm->f];
$schema = $this->lang->ai->formSchema[strtolower($targetForm->m)][strtolower($targetForm->f)];
return empty($schema) ? array() : $schema;
}