summaryrefslogtreecommitdiff
path: root/lib/study/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/study/index.php')
-rw-r--r--lib/study/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/study/index.php b/lib/study/index.php
index e6cec20..6b43d53 100644
--- a/lib/study/index.php
+++ b/lib/study/index.php
@@ -1,3 +1,7 @@
<?php
+if ($user['id'] == 0) {
+ $message = "You must create an account to use this study program.";
+}
+
require("tpl/study/index.php");