X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/17d5ad30f747658451fae84fe65cb1f5b66d377c..af8ef5bea80923e27426cb4852c4a4a9fa2c0adc:/admin/blackboard.php diff --git a/admin/blackboard.php b/admin/blackboard.php index 4066f84..139abe9 100644 --- a/admin/blackboard.php +++ b/admin/blackboard.php @@ -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");