修复文章作者
This commit is contained in:
parent
23f46124cd
commit
26d8f562ee
|
|
@ -72,9 +72,9 @@ class PageRepo
|
|||
$page->fill([
|
||||
'page_category_id' => (int) ($data['page_category_id'] ?? 0),
|
||||
'position' => (int) ($data['position'] ?? 0),
|
||||
'active' => (bool) ($data['active'] ?? true),
|
||||
'author' => (bool) ($data['author'] ?? true),
|
||||
'views' => (int) ($data['views'] ?? 0),
|
||||
'active' => (bool) ($data['active'] ?? true),
|
||||
'author' => $data['author'] ?? '',
|
||||
'views' => (int) ($data['views'] ?? 0),
|
||||
]);
|
||||
|
||||
$page->saveOrFail();
|
||||
|
|
|
|||
Loading…
Reference in New Issue