mirror of
https://github.com/typecho/typecho.git
synced 2025-04-17 08:14:57 +02:00
fix #968
This commit is contained in:
parent
65455bc67e
commit
0b68fa8b14
@ -536,7 +536,9 @@ class Widget_Contents_Post_Edit extends Widget_Abstract_Contents implements Widg
|
||||
}
|
||||
}
|
||||
|
||||
$item->value($fields->{$name});
|
||||
if (isset($fields->{$name})) {
|
||||
$item->value($fields->{$name});
|
||||
}
|
||||
|
||||
$elements = $item->container->getItems();
|
||||
array_shift($elements);
|
||||
|
Loading…
x
Reference in New Issue
Block a user