Merge branch 'master' of ssh://p0m.fr:6224/git/nemubot_askweb
This commit is contained in:
commit
db237fa932
@ -26,7 +26,7 @@ class QuestionsFile
|
||||
if (@$this->treeXML->load($this->filename))
|
||||
{
|
||||
$root_nodes = $this->treeXML->getElementsByTagName("questions");
|
||||
if ($root_node->length > 0)
|
||||
if ($root_nodes->length > 0)
|
||||
$this->root_node = $root_nodes->item(0);
|
||||
else
|
||||
throw Exception("Not a valid nemubot QuestionsFile.");
|
||||
|
Reference in New Issue
Block a user