diff --git a/app/Support/helpers.php b/app/Support/helpers.php index 1f57ebef..e0335fe1 100644 --- a/app/Support/helpers.php +++ b/app/Support/helpers.php @@ -39,7 +39,10 @@ function merge() $merged = $merged->toArray(); // Add computed title tag - if (!empty($merged['base']) && !array_key_exists('title', !empty($merged['base']['meta']) ? $merged['base']['meta'] : [])) { + if ( + !empty($merged['base']) && + !array_key_exists('title', !empty($merged['base']['meta']) ? $merged['base']['meta'] : []) + ) { $merged['base']['meta']['title'] = stringify_page_title($merged['base']); }