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

#823002 by jenlampton, Kars-T, cyberpunk, brycesenz, pebosi, igorik, rachellawson:

Fixed: The Take tab is appearing on all content types
parent 4536f4c9
No related branches found
No related tags found
No related merge requests found
......@@ -792,6 +792,9 @@ function quiz_take($node) {
* The quiz node
*/
function quiz_take_access($node) {
if ($node->type != 'quiz') {
return FALSE;
}
return node_access('view', $node) && quiz_availability($node) === TRUE;
}
......
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