From 6816c6765009538aec31cde3128c1cb69ca272e9 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Fri, 29 Aug 2014 10:50:55 +0200 Subject: Remove useless checks for variables that should always be defined. --- index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 3e192f1..d6490ab 100644 --- a/index.php +++ b/index.php @@ -97,8 +97,7 @@ final class LookingGlass { private function render_header() { print ''; print '
'; - if (!isset($this->frontpage['show_title']) || - $this->frontpage['show_title']) { + if ($this->frontpage['show_title']) { print '

'.htmlentities($this->frontpage['title']).'


'; } if (isset($this->frontpage['image'])) { @@ -162,8 +161,7 @@ final class LookingGlass { print '