Commit 2d4d6e75 authored by Julien Schröter's avatar Julien Schröter Committed by Julien Schröter
Browse files

Let func isAnswered return true if >2 qs answered

parent 70361584
......@@ -32,7 +32,7 @@ BEGIN
FROM `roundquestion`
JOIN `useranswer` ON `roundquestion`=`idroundquestion`
WHERE `roundquestion`.`round`=roundid AND `useranswer`.`user`=userid;
RETURN answered_questions=2;
RETURN answered_questions>=2;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment