Commit ac8756dc authored by Nico Schallehn's avatar Nico Schallehn

test

parent 63943f10
...@@ -124,20 +124,20 @@ class MediaDBAPI{ ...@@ -124,20 +124,20 @@ class MediaDBAPI{
//TODO überprüfen ob es die spalten auch wirklich gibt!!! //TODO überprüfen ob es die spalten auch wirklich gibt!!!
//Dafür den Array mit allein Spalten für die Reinfolge verwenden //Dafür den Array mit allein Spalten für die Reinfolge verwenden
$tempFilme= array("test"); $tempFilme= array();
foreach ($this->SpaltenFilme as $value) { foreach ($this->SpaltenFilme as $value) {
if(in_array($value, $this->SpaltenFil)){ if(in_array($value, $this->SpaltenFil)){
echo $value.PHP_EOL; //echo $value.PHP_EOL;
//$tempFilme = //$tempFilme =
array_push($tempFilme, $value); array_push($tempFilme, $value);
} }
} }
$this->SpaltenFil = $tempFilme; $this->SpaltenFil = $tempFilme;
$tempEpisoden= array("test"); $tempEpisoden= array();
foreach ($this->SpaltenEpisoden as $value) { foreach ($this->SpaltenEpisoden as $value) {
if(in_array($value, $this->SpaltenEpi)){ if(in_array($value, $this->SpaltenEpi)){
echo $value.PHP_EOL; //echo $value.PHP_EOL;
//$tempEpisoden = //$tempEpisoden =
array_push($tempEpisoden, $value); array_push($tempEpisoden, $value);
} }
......
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