tcheck example variable value - 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 3169e43f85fcf77e313166360649ed1f81107c95
(DIR) parent 2084e0b1cb6dbb0cfba69c67eae45ce735204286
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 17 Nov 2015 13:37:38 +0100
check example variable value
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 (isset($_GET['example']) && !empty($_GET['example'])) {
+if (isset($_GET['example']) && $_GET['example'] == 1) {
?>
<script type="text/javascrip" src="js/history-form-prefiller.js"></script>
<?php