X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fdb.php;h=ef902adaf21e73a0bc23f301f14c0a1aaddcb45b;hp=b84a56670c329c3dfb6ef1c16bcaab19f02ada7c;hb=6206ef89ad9a9a1a541ecb67971815d11f12199b;hpb=d68b2fa2ea0ef193ca1d9d906a8e8071dd191e77 diff --git a/include/db.php b/include/db.php index b84a566..ef902ad 100644 --- a/include/db.php +++ b/include/db.php @@ -971,7 +971,7 @@ function DB_is_session_active($session) { $r = DB_query_array("SELECT COUNT(*) FROM Game ". " WHERE session=$session ". - " AND status<>'gameover' "); + " AND status IN ('pre','play') "); if($r) return $r[0]; else