diff --git a/index.php b/index.php index 891e77b59..fe9836a24 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ html_header("ScummVM", ''); sidebar_start(); -$shownews = empty($_GET['shownews']) ? 0 : 1; +$shownews = isset($_GET['shownews']) ? 1 : 0; // display welcome table // don't show this if we are in news mode diff --git a/screenshots.php b/screenshots.php index 3f0088ffa..945db1178 100644 --- a/screenshots.php +++ b/screenshots.php @@ -24,11 +24,13 @@