Commit 61a20ffc authored by Nico Schallehn's avatar Nico Schallehn

test

parent 89a56fc2
......@@ -165,7 +165,7 @@ class Media {
$array["imdbID"] = substr($Filename,strripos( $Filename,"(")+1,7);
}
echo strlen($array["imdbID"])." ".$array["imdbID"].PHP_EOL;
if(strlen($array["imdbID"])<=2){
if(isset($array["imdbID"])){ //strlen($array["imdbID"])<=2
file_put_contents("./phpTestout/default.txt", "Keine imdbID in Dateinamen: ".$Pfad.$Filename." gefunden!".PHP_EOL, FILE_APPEND);
return false;
}
......
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