Skip to content
Snippets Groups Projects
Commit 749687b2 authored by falcon's avatar falcon
Browse files

API adjustments

parent 1a077fa6
No related branches found
No related tags found
No related merge requests found
......@@ -1012,7 +1012,7 @@ function quiz_get_score_data($nids, $uid, $include_num_questions = FALSE) {
$to_return[$res_o->vid] = $res_o;
$vids[] = $res_o->vid;
}
if (empty($vids)) return array();
if ($include_num_questions) {
$sql = 'SELECT COUNT(*) as num_always_questions, parent_vid
FROM {quiz_node_relationship}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment