Commit 1a7ee69f authored by Nico Schallehn's avatar Nico Schallehn

test

parent f974335c
......@@ -511,7 +511,7 @@ class Media {
}
echo " done!".PHP_EOL;
foreach ($array as $key => $value) {
if(($value == 'n/A') OR ($value == false)){
if((($value == 'n/A') OR ($value == false)) AND !($Key = '3d')){
unset($array[$key]);
echo "Lösche: ".$key.PHP_EOL;
}
......@@ -584,7 +584,8 @@ class Media {
//$fehlerglobal .= $fehler;
//echo $fehler;
if(!$first){
$SQL = "UPDATE Filme SET".$update." WHERE imdbID = '".$Film["imdbID"]."';";
//$SQL = "UPDATE Filme SET".$update." WHERE imdbID = '".$Film["imdbID"]."';";
$SQL = "UPDATE Filme SET".$update." WHERE imdbID = '".$Film["imdbID"]."' AND 3d ".(isset($DataArr['3d'])?"!=":"=").'"";';
//$counterChange++;
if(!$CheckOnly){
$Ausgabe = " Ändere (bei ".$Film["imdbID"].") :".PHP_EOL.$changed.PHP_EOL;
......
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