From fde1f536e74dab4b88576023d3ae4d0d6c04e6ed Mon Sep 17 00:00:00 2001 From: Guillaume Turri Date: Sun, 6 Jan 2019 10:45:29 +0100 Subject: [PATCH] Fix "Deprecated" error This patch fixes the error Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP --- support-theme/qa-admin-options.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support-theme/qa-admin-options.php b/support-theme/qa-admin-options.php index e892fc8..d9e9081 100644 --- a/support-theme/qa-admin-options.php +++ b/support-theme/qa-admin-options.php @@ -2,7 +2,7 @@ class qa_html_theme_layer extends qa_html_theme_base { var $theme_directory; var $theme_url; - function qa_html_theme_layer($template, $content, $rooturl, $request) + function __construct($template, $content, $rooturl, $request) { global $qa_layers; $this->theme_directory = $qa_layers['Theme Options']['directory']; @@ -590,4 +590,4 @@ function doctype(){ } /* Omit PHP closing tag to help avoid accidental output -*/ \ No newline at end of file +*/