Commit 85d3212e authored by Nico Schallehn's avatar Nico Schallehn

test

parent 55b52b63
...@@ -185,7 +185,7 @@ class Media { ...@@ -185,7 +185,7 @@ class Media {
//$array["Schauspieler"] = $imdb->getCastAsOwn(0, false); //$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$fsktemp = $imdb->getCertification(); $fsktemp = $imdb->getCertification();
//var_dump($fsk); //var_dump($fsktemp);
/*if(!(strpos( $fsk,"West Germany") == false)){ /*if(!(strpos( $fsk,"West Germany") == false)){
$fsk = trim(substr($fsk,strpos( $fsk,"West Germany")+13,3)); $fsk = trim(substr($fsk,strpos( $fsk,"West Germany")+13,3));
}else*/ }else*/
...@@ -193,6 +193,7 @@ class Media { ...@@ -193,6 +193,7 @@ class Media {
$fsk = trim(substr($fsktemp,strrpos( $fsk,"Germany:")+8,15)); $fsk = trim(substr($fsktemp,strrpos( $fsk,"Germany:")+8,15));
}else{ }else{
$fsk = ""; $fsk = "";
var_dump($fsktemp);
echo $this->Console->error("keine fsk gefunden!").PHP_EOL; echo $this->Console->error("keine fsk gefunden!").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