mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 18:21:53 +02:00
修复模板自定义field 不能保存的bug
This commit is contained in:
parent
a7bcb93d75
commit
cfee6a59e7
@ -107,8 +107,8 @@ class Widget_Contents_Post_Edit extends Widget_Abstract_Contents implements Widg
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($this->request->fields)) {
|
||||
$fields = array_merge($fields, $this->request->fields);
|
||||
if (!empty($this->request->getArray('fields'))) {
|
||||
$fields = array_merge($fields, $this->request->getArray('fields'));
|
||||
}
|
||||
|
||||
return $fields;
|
||||
|
Loading…
x
Reference in New Issue
Block a user