X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Ffrio_boot.php;h=dcb87b6d27f160687dfd5f268f9a8c69ab0ee8f6;hb=838c0f96de57717e21e985cd2f92a130f568052d;hp=3f8ed1ed0b0e87a857aff5e56c84781768d8bbff;hpb=352e136132726b10bbcda8604134b8641402af03;p=friendica.git diff --git a/view/theme/frio/php/frio_boot.php b/view/theme/frio/php/frio_boot.php index 3f8ed1ed0b..dcb87b6d27 100644 --- a/view/theme/frio/php/frio_boot.php +++ b/view/theme/frio/php/frio_boot.php @@ -22,7 +22,7 @@ function load_page(App $a) require 'view/theme/frio/none.php'; } else { $template = 'view/theme/' . $a->getCurrentTheme() . '/' - . ((x($a->page, 'template')) ? $a->page['template'] : 'default' ) . '.php'; + . defaults($a->page, 'template', 'default' ) . '.php'; if (file_exists($template)) { require_once $template; } else {