is_unlock: the first exo is always unlocked
This commit is contained in:
parent
327781e996
commit
2e48c90761
@ -93,6 +93,9 @@ class Exercice
|
||||
|
||||
function is_unlocked($team)
|
||||
{
|
||||
if ($this->require == "")
|
||||
return 1;
|
||||
|
||||
$db = new BDD();
|
||||
|
||||
$res = $db->unique_query("SELECT `id` FROM solved
|
||||
|
Loading…
Reference in New Issue
Block a user