Skip to content

Commit

Permalink
Alteração para ordenação adequada de itens de questões
Browse files Browse the repository at this point in the history
  • Loading branch information
mgbf committed May 9, 2018
1 parent 47761e8 commit 8ae17c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/format.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ protected function readquestions($lines) {
*/
protected function defaultquestion() {
global $CFG;
static $defaultshuffleanswers = null;
static $defaultshuffleanswers = 0; //O valor antes era null, porém foi alterado para 0 afim de que no momento que as questões sejam importadas pelo formato GIFT, não ative essa opção para as questões de Associação, Múltipla escolha simples ou com múltiplas respostas.
if (is_null($defaultshuffleanswers)) {
$defaultshuffleanswers = get_config('quiz', 'shuffleanswers');
}
Expand Down

0 comments on commit 8ae17c4

Please sign in to comment.