X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/2c45a56043747bc7b524cdff4d00ff925b1a9544..4678f209fb04682d0981cadb566d63f5726f9e09:/submit.php?ds=inline diff --git a/submit.php b/submit.php index 69d9ab8..2e88c85 100644 --- a/submit.php +++ b/submit.php @@ -41,6 +41,14 @@ print ''; break; } + + if(trim(end($sessions)[0]) == "") { + print ''; + print ''; + print '
no exercises defined
'; + break; + } + ?>