tfix example get variable check - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2084e0b1cb6dbb0cfba69c67eae45ce735204286
(DIR) parent 7ece12d9d0f27c2c6051bcdbc77369337d74d79c
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 17 Nov 2015 13:34:39 +0100
fix example get variable check
Diffstat:
M index.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/index.php b/index.php
t@@ -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