From 4dd83c9db4952fc56f26da0c8299b88a05b9467d Mon Sep 17 00:00:00 2001 From: Michael Kulabuhov Date: Fri, 7 Apr 2017 21:50:21 +0700 Subject: [PATCH] fix PHP 7 Deprecated --- html/inc/db_ops.inc | 2 +- html/inc/text_transform.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index 204b8bc44d..2e9ff8238d 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -236,7 +236,7 @@ class SqlQueryString { var $query; var $urlquery; - function SqlQueryString() { + function __construct() { if (isset($_GET['table'])) { $this->table = $_GET['table']; } else { diff --git a/html/inc/text_transform.inc b/html/inc/text_transform.inc index 6e28af8306..1f7bc18f91 100644 --- a/html/inc/text_transform.inc +++ b/html/inc/text_transform.inc @@ -36,7 +36,7 @@ class output_options { // Constructor - set the defaults. - function output_options() { + function __construct() { $this->bb2html = 1; $this->images_as_links = 0; $this->link_popup = 0;