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