| tfix example get variable check - cosmo - front and backend for Markov-Chain Mo… | |
| git clone git://src.adamsgaard.dk/cosmo | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 2084e0b1cb6dbb0cfba69c67eae45ce735204286 | |
| parent 7ece12d9d0f27c2c6051bcdbc77369337d74d79c | |
| Author: Anders Damsgaard <[email protected]> | |
| 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(-) | |
| --- | |
| 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 |