mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 18:21:53 +02:00
修复自定义字段消失
This commit is contained in:
parent
15927ad775
commit
23e1e04cd7
@ -90,8 +90,9 @@ class Widget_Contents_Post_Edit extends Widget_Abstract_Contents implements Widg
|
||||
protected function getFields()
|
||||
{
|
||||
$fields = array();
|
||||
$fieldNames = $this->request->getArray('fieldNames');
|
||||
|
||||
if (!empty($this->request->fieldNames)) {
|
||||
if (!empty($fieldNames)) {
|
||||
$data = array(
|
||||
'fieldNames' => $this->request->getArray('fieldNames'),
|
||||
'fieldTypes' => $this->request->getArray('fieldTypes'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user