Skip to content

Commit

Permalink
fix wrong mysqli error function
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Ihle committed Feb 15, 2017
1 parent 05c8fd5 commit a96c9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/server/core/classes/GlobalBackendndomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private function connectDB() {
$this->CONN = mysqli_connect($this->dbHost.':'.$this->dbPort, $this->dbUser, $this->dbPass);

if(!$this->CONN){
throw new BackendConnectionProblem(l('errorConnectingMySQL', Array('BACKENDID' => $this->backendId,'MYSQLERR' => mysqli_error($this->CONN))));
throw new BackendConnectionProblem(l('errorConnectingMySQL', Array('BACKENDID' => $this->backendId,'MYSQLERR' => mysqli_connect_error($this->CONN))));
return FALSE;
}

Expand Down

0 comments on commit a96c9d1

Please sign in to comment.