Commit 2e154721 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 953d862f
...@@ -296,10 +296,10 @@ class MediaDBAPI{ ...@@ -296,10 +296,10 @@ class MediaDBAPI{
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"]); $tempArray["Checked"] = ($resultArr["Checked"]== null?"":$resultArr["Checked"]);
$tempArray["Views"] = $resultArr["Views"]; $tempArray["Views"] = ($resultArr["Views"] == null?0:$resultArr["Views"]);
$tempArray["Size"] = $resultArr["Size"]; $tempArray["Size"] = ($resultArr["Size"] == null?0:$resultArr["Size"]);
$tempArray["Duration"] = $resultArr["Duration"]; $tempArray["Duration"] = ($resultArr["Duration"] == null?0:$resultArr["Duration"]);
$tempArray["Count"] = $resultArr["Count"]; $tempArray["Count"] = ($resultArr["Count"] == null?0:$resultArr["Count"]);
} }
} }
array_push($entryArray,$tempArray); array_push($entryArray,$tempArray);
......
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