summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 13:44:35 +0100
committerNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 13:44:35 +0100
commit3183058847f93b328f153049d0ca8ee9615fac32 (patch)
tree73177c96e2c0b8ee81523535961a8c01a8d486be
parentd45c7f14891d951f8a6987cc6492073b97e05b5b (diff)
downloadBits-3183058847f93b328f153049d0ca8ee9615fac32.tar.gz
Bits-3183058847f93b328f153049d0ca8ee9615fac32.zip
Minor bug.
-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.";