Commit e7203ce2 by Scott

Fixed error calling through to base theme constructor

parent 8e490462
...@@ -1749,6 +1749,8 @@ ...@@ -1749,6 +1749,8 @@
qa_fatal_error('Class for layer must be declared as "class qa_html_theme_layer extends qa_html_theme_base" in '.$layer['directory'].$layer['include']); qa_fatal_error('Class for layer must be declared as "class qa_html_theme_layer extends qa_html_theme_base" in '.$layer['directory'].$layer['include']);
$searchwordreplace=array( $searchwordreplace=array(
'qa_html_theme_base::qa_html_theme_base' => $classname.'::__construct', // PHP5 constructor fix
'parent::qa_html_theme_base' => 'parent::__construct', // PHP5 constructor fix
'qa_html_theme_layer' => $newclassname, 'qa_html_theme_layer' => $newclassname,
'qa_html_theme_base' => $classname, 'qa_html_theme_base' => $classname,
'QA_HTML_THEME_LAYER_DIRECTORY' => "'".$layer['directory']."'", 'QA_HTML_THEME_LAYER_DIRECTORY' => "'".$layer['directory']."'",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment