Found a bug

Found a bug

por nelly hung -
Número de respostas: 2

Hello, sorry my english is'nt good...

Well, i don´t know it's a bug because i downloaded Moodle Beta 1.2 two weeks ago...

Inside graph.php file, when we use case "question.png" i found: 

switch ($type) {

     case "question.png":
     $question = get_record("survey_questions", "id", $sid);

it is'nt $sid, it's $qid because when $sid it is used only when we need referer users...

Bye...

Média das avaliações:  -
Em resposta à nelly hung

Re: Found a bug

por Martin Dougiamas -
Imagem de Core developers Imagem de Documentation writers Imagem de Moodle HQ Imagem de Particularly helpful Moodlers Imagem de Plugin developers Imagem de Testers
Thanks for posting! ... however in my copy it is correctly $qid already. 
 
   cvs:/moodle/mod/survey/graph.php

Have you been editing that file in your installation?
Em resposta à Martin Dougiamas

Re: Found a bug

por nelly hung -

Hello, well i saw this in moodle.org. i reviewed but i don't know how to use...i'll try...

Thanks...