From db35ea0c4a1cbf38df846e6a6a34352fd4c81a5c Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Wed, 16 Nov 2016 22:25:19 +0100 Subject: [PATCH] php7: fix warning --- inside/BugReports.php | 2 +- inside/OrderStatuses.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inside/BugReports.php b/inside/BugReports.php index 09d5948..e60f523 100644 --- a/inside/BugReports.php +++ b/inside/BugReports.php @@ -9,7 +9,7 @@ class BugReports { } function __construct($selection = "all"){ - $this->conn =& db_connect(); + $this->conn = db_connect(); switch ($selection) { case "all": diff --git a/inside/OrderStatuses.php b/inside/OrderStatuses.php index 944b2e7..c43b799 100644 --- a/inside/OrderStatuses.php +++ b/inside/OrderStatuses.php @@ -10,7 +10,7 @@ class OrderStatuses { } function __construct(){ - $this->conn =& db_connect(); + $this->conn = db_connect(); } public