T201704051123
This commit is contained in:
@@ -32,7 +32,8 @@ class Question
|
||||
$ca_position = array_search($a0, $this->answers);
|
||||
$this->category_id = $cid;
|
||||
$this->category = $c;
|
||||
$db->query('UPDATE "Games" SET "current_right_answer" = $1 WHERE "ID" = $2', array($ca_position, $uid));
|
||||
$db->query('UPDATE "Games" SET "current_right_answer" = $1, "current_category" = $2 WHERE "ID" = $3',
|
||||
array($ca_position, $cid, $uid));
|
||||
}
|
||||
|
||||
public static function get_next_question($db, $uid) {
|
||||
|
||||
Reference in New Issue
Block a user