diff --git a/www/camera.php b/www/camera.php
index ad2db584fd4984f9a79ef1ba9e7416dd6965cd64..f8c062b385742fb76714e897d6b2553ff3163e9d 100644
--- a/www/camera.php
+++ b/www/camera.php
@@ -1,11 +1,12 @@
 <?php
-	$camera = ($_GET['camera']?$_GET['camera']:'nocamera');
+	$camera = 'nocamera';
+	if (isset($_GET['camera']))
+			$camera=$_GET['camera'];
 	$imagelocation="../";
 	$file = $imagelocation.strtolower($camera).".jpg";
 	header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
-	if (!is_readable($file)) {
+	if (!is_readable($file))
 		$file="nocamera.jpg";
-	}
 	header("Content-Type: image/jpeg");
 	header("Content-Length: ".filesize($file));
 	header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT");