mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 13:23:18 +02:00
feat(core): set routable true on entries creation #320
This commit is contained in:
@@ -480,7 +480,7 @@ class Entries
|
||||
$data['published_by'] = (Session::exists('uuid') ? Session::get('uuid') : '');
|
||||
$data['created_by'] = (Session::exists('uuid') ? Session::get('uuid') : '');
|
||||
|
||||
if (isset($data['routable']) && is_array($data['routable'])) {
|
||||
if (isset($data['routable']) && is_bool($data['routable'])) {
|
||||
$data['routable'] = $data['routable'];
|
||||
} else {
|
||||
$data['routable'] = true;
|
||||
|
Reference in New Issue
Block a user