Skip to content
Snippets Groups Projects
Commit 7915db8d authored by Aleix Quintana's avatar Aleix Quintana Committed by Devin Zuczek
Browse files

Issue #2387753 by aleix: errors in function quiz_validate with strings quiz_open and quiz_close

parent a995c5a4
No related branches found
No related tags found
No related merge requests found
......@@ -1432,7 +1432,7 @@ function quiz_validate($node) {
// Don't check dates if the quiz is always available.
if (!$node->quiz_always) {
if ($node->quiz_open > $node->quiz_close) {
form_set_error('quiz_close', t('The End date must be greater than the Open date.'));
form_set_error('quiz_close', t('The Close date must be greater than the Open date.'));
}
}
......
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