From 3183058847f93b328f153049d0ca8ee9615fac32 Mon Sep 17 00:00:00 2001 From: Nicolas BERNSTEIN Date: Sun, 20 Nov 2011 13:44:35 +0100 Subject: Minor bug. --- lib/list/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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."; -- cgit v1.2.3