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;