]> git.treefish.org Git - banana.git/blobdiff - admin/blackboard.php
submit as often as you want.
[banana.git] / admin / blackboard.php
index 4066f84d4249fb5cdd61cca6e4a341d556d8e62a..139abe9309a030a914fa27a611d1f0704a710467 100644 (file)
@@ -10,7 +10,7 @@
 
   if ($db->query("SELECT COUNT(*) FROM students")->fetch(PDO::FETCH_NUM)[0] == 0) {
     block("red", "no students registered");
-    break;
+    exit;
   }
 
   block("black", "add blackboard");