* convert schema keys to lower, partly fix bug #36866.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user