]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/frio_boot.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / view / theme / frio / php / frio_boot.php
index 3f8ed1ed0b0e87a857aff5e56c84781768d8bbff..dcb87b6d27f160687dfd5f268f9a8c69ab0ee8f6 100644 (file)
@@ -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 {