php7: fix warning

This commit is contained in:
nikolark committed 2016-11-16 22:25:19 +01:00
1 parent e9b4b82d7e
commit db35ea0c4a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class BugReports {
} }
function __construct($selection = "all"){ function __construct($selection = "all"){
$this->conn =& db_connect(); $this->conn = db_connect();
switch ($selection) { switch ($selection) {
case "all": case "all":
+1 -1
View File
@@ -10,7 +10,7 @@ class OrderStatuses {
} }
function __construct(){ function __construct(){
$this->conn =& db_connect(); $this->conn = db_connect();
} }
public public