From: Michael Wallner Date: Fri, 20 Dec 2013 15:15:04 +0000 (+0100) Subject: simplify X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ee3f01e84280430e27b2c79c4b30ce3dc40121a5;p=mdref%2Fmdref simplify --- diff --git a/views/layout.phtml b/views/layout.phtml index 43463ca..3bd409c 100644 --- a/views/layout.phtml +++ b/views/layout.phtml @@ -3,11 +3,10 @@ - <?php if ($title) : ?> - <?= $title ?> - mdref - <?php else: ?> - mdref + <?php if (!empty($title)) : ?> + <?= $title ?> - <?php endif; ?> + mdref