fix PHP 7 Deprecated

This commit is contained in:
Michael Kulabuhov 2017-04-07 21:50:21 +07:00
parent 8872445b57
commit 4dd83c9db4
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ class SqlQueryString {
var $query;
var $urlquery;
function SqlQueryString() {
function __construct() {
if (isset($_GET['table'])) {
$this->table = $_GET['table'];
} else {

View File

@ -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;