From ee3f01e84280430e27b2c79c4b30ce3dc40121a5 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 20 Dec 2013 16:15:04 +0100 Subject: [PATCH] simplify --- views/layout.phtml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.30.2