X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/a65f6156526811f32e34e3d8556597f9f3f4361d..4dd46d68b056c25dcbd6caac2cfd578136e64bd7:/submit.php 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; + } + ?>