Commit bf100e9f authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4c742414
...@@ -429,8 +429,12 @@ class MediaDBAPI{ ...@@ -429,8 +429,12 @@ class MediaDBAPI{
$result = $this->query($Query); $result = $this->query($Query);
if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);} if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);}
$resultArr = $result->fetch_array(); $resultArr = $result->fetch_array();
$tempArray["Checked"] = ($resultArr["Checked"]== null?"":$resultArr["Checked"]); if(in_array("checked", $this->SpaltenEpi)==1){
$tempArray["Views"] = ($resultArr["Views"] == null?0:$resultArr["Views"]); $tempArray["Checked"] = ($resultArr["Checked"]== null?"":$resultArr["Checked"]);
}
if(in_array("views", $this->SpaltenEpi)==1){
$tempArray["Views"] = ($resultArr["Views"] == null?0:$resultArr["Views"]);
}
$tempArray["Size"] = ($resultArr["Size"] == null?0:$resultArr["Size"]); $tempArray["Size"] = ($resultArr["Size"] == null?0:$resultArr["Size"]);
$tempArray["Duration"] = ($resultArr["Duration"] == null?0:$resultArr["Duration"]); $tempArray["Duration"] = ($resultArr["Duration"] == null?0:$resultArr["Duration"]);
$tempArray["Count"] = ($resultArr["Count"] == null?0:$resultArr["Count"]); $tempArray["Count"] = ($resultArr["Count"] == null?0:$resultArr["Count"]);
......
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