Commit c025269c authored by Nico Schallehn's avatar Nico Schallehn

test

parent 21bac4f9
......@@ -41,7 +41,7 @@ class MediaDBViewerAPI{
$this->API_Rechte = $entry['Rechte'];
$this->API_KEY = $entry['Schuessel'];
$this->DB_Objekt = new mysqli($this->DB_Server, $this->DB_Username,$this->DB_Passwort, $this->DB_Database);
if($this->DB_Objekt->error != null){
if($this->DB_Objekt->error != ""){
$ret = false;
}else{ $ret = true; }
}else{ $ret = false; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment