Commit 48586971 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 573fe13c
......@@ -393,10 +393,12 @@ class Media {
$Schauspieler = explode("/", str_replace("nm", "", $Schauspieler));
$SchauspielerRole = explode("/", $SchauspielerRole);
foreach ($SchauspielerRole as $value) {
$value = explode("as", $value);
$value[1] = str_replace("(uncredited)", "", $value[1]);
$value[1] = str_replace("(", "", $value[1]);
$SchauspielerRollen[trim($value[0])] = trim($value[1]);
if(strlen($value)>2){
$value = explode("as", $value);
$value[1] = str_replace("(uncredited)", "", $value[1]);
$value[1] = str_replace("(", "", $value[1]);
$SchauspielerRollen[trim($value[0])] = trim($value[1]);
}
}
......
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