Permalink
Browse files

fix wrong mysqli error function

1 parent 05c8fd5 commit a96c9d1bac467d394ca79f1c1a3a758e618875f9 Patrick Ihle committed Feb 15, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/server/core/classes/GlobalBackendndomy.php
@@ -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;
}

0 comments on commit a96c9d1

Please sign in to comment.