Commit f7e92bbc authored by Nico Schallehn's avatar Nico Schallehn

($resultArr["Checked"]== null?"":$resultArr["Checked"])

parent 81b6129e
...@@ -281,7 +281,7 @@ class MediaDBViewerAPI{ ...@@ -281,7 +281,7 @@ class MediaDBViewerAPI{
'WHERE s.series_nr = '.$entry["series_nr"]; 'WHERE s.series_nr = '.$entry["series_nr"];
$result = $this->query($Query); $result = $this->query($Query);
$resultArr = $result->fetch_array(); $resultArr = $result->fetch_array();
$tempArray["Checked"] = $resultArr["Checked"]; $tempArray["Checked"] = ($resultArr["Checked"]== null?"":$resultArr["Checked"]);
$tempArray["Views"] = $resultArr["Views"]; $tempArray["Views"] = $resultArr["Views"];
$tempArray["Size"] = $resultArr["Size"]; $tempArray["Size"] = $resultArr["Size"];
...@@ -291,7 +291,7 @@ class MediaDBViewerAPI{ ...@@ -291,7 +291,7 @@ class MediaDBViewerAPI{
'WHERE se.series_nr = '.$entry["series_nr"]; 'WHERE se.series_nr = '.$entry["series_nr"];
$result = $this->query($Query); $result = $this->query($Query);
$resultArr = $result->fetch_array(); $resultArr = $result->fetch_array();
$tempArray["Checked"] = $resultArr["Checked"]; $tempArray["Checked"] = ($resultArr["Checked"]== null?"":$resultArr["Checked"]);
$tempArray["Views"] = $resultArr["Views"]; $tempArray["Views"] = $resultArr["Views"];
$tempArray["Size"] = $resultArr["Size"]; $tempArray["Size"] = $resultArr["Size"];
} }
......
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