mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 05:43:10 +02:00
fix(core): fix notice undefined index: published_at in Entries API #265
This commit is contained in:
@@ -146,7 +146,7 @@ class Entries
|
||||
|
||||
// Add predefined entry items
|
||||
// Entry Date
|
||||
$entry_decoded['published_at'] = $entry_decoded['published_at'] ? $entry_decoded['published_at'] : Filesystem::getTimestamp($entry_file);
|
||||
$entry_decoded['published_at'] = isset($entry_decoded['published_at']) ? $entry_decoded['published_at'] : Filesystem::getTimestamp($entry_file);
|
||||
$entry_decoded['created_at'] = $entry_decoded['created_at'] ? $entry_decoded['created_at'] : Filesystem::getTimestamp($entry_file);
|
||||
|
||||
// Entry Timestamp
|
||||
|
Reference in New Issue
Block a user