Typo :s
This commit is contained in:
parent
f7537dab2a
commit
cde7388928
@ -26,7 +26,7 @@ class QuestionsFile
|
|||||||
if (@$this->treeXML->load($this->filename))
|
if (@$this->treeXML->load($this->filename))
|
||||||
{
|
{
|
||||||
$root_nodes = $this->treeXML->getElementsByTagName("questions");
|
$root_nodes = $this->treeXML->getElementsByTagName("questions");
|
||||||
if ($root_node->length > 0)
|
if ($root_nodes->length > 0)
|
||||||
$this->root_node = $root_nodes->item(0);
|
$this->root_node = $root_nodes->item(0);
|
||||||
else
|
else
|
||||||
throw Exception("Not a valid nemubot QuestionsFile.");
|
throw Exception("Not a valid nemubot QuestionsFile.");
|
||||||
|
Reference in New Issue
Block a user