summaryrefslogtreecommitdiff
path: root/lib/list
diff options
context:
space:
mode:
Diffstat (limited to 'lib/list')
-rw-r--r--lib/list/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/list/view.php b/lib/list/view.php
index 7a05bf2..2055523 100644
--- a/lib/list/view.php
+++ b/lib/list/view.php
@@ -22,7 +22,7 @@ while ($nn = mysql_fetch_assoc($n)) $batches[] = $nn;
$can_start_study = false;
if ($user['id'] != 0) {
- if (!mysql_fetch_assoc(sql("SELECT id FROM list_study WHERE list = $listid AND user = " . $user['id'])));
+ if (!mysql_fetch_assoc(sql("SELECT id FROM list_study WHERE list = $listid AND user = " . $user['id'])))
$can_start_study = true;
} else {
$message = "You should create an account in order to study this list.";