commit 2084e0b1cb6dbb0cfba69c67eae45ce735204286
parent 7ece12d9d0f27c2c6051bcdbc77369337d74d79c
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 17 Nov 2015 13:34:39 +0100
fix example get variable check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.php b/index.php
@@ -23,7 +23,7 @@ if ($_POST["g-recaptcha-response"]) {
// include top of html template
include('head.html');
-if ($_GET['example'] && !empty($_GET['example'])) {
+if (isset($_GET['example']) && !empty($_GET['example'])) {
?>
<script type="text/javascrip" src="js/history-form-prefiller.js"></script>
<?php