Issue #80 - Problem with PHP below 5.6.3 fixed.

This commit is contained in:
Daniel Thee Roperto committed 2016-11-17 15:26:02 +11:00
1 parent e1524a10bb
commit 659a275a68
2 files changed
+1 -2

No files matched your search

@@ -275,7 +275,7 @@ class maintenance_static_page_generator {
$meta->setAttribute('http-equiv', 'refresh');
$meta->setAttribute('content', $this->refreshtime);
$head = $this->dom->getElementsByTagName('head')[0];
$head = $this->dom->getElementsByTagName('head')->item(0);
if ($head) {
$head->appendChild($meta);
}