Fix question getter
This commit is contained in:
parent
a1c1244e14
commit
50d2a87575
2 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ class QuestionsFile
|
|||
*/
|
||||
public function get_question($id)
|
||||
{
|
||||
return new Question($this->root_node->getElementById($id));
|
||||
return new Question($this->treeXML->getElementById($id));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Reference in a new issue