Commit 288ca921 authored by Nico Schallehn's avatar Nico Schallehn

kleiner bugfix für Notice fehlermeldungen

parent daa9ea7a
...@@ -412,11 +412,12 @@ class Media { ...@@ -412,11 +412,12 @@ class Media {
foreach ($Schauspieler as $value) { foreach ($Schauspieler as $value) {
$value = explode(">", $value); if(!(strpos($value, ">") == false)){
//$Schauspieler[trim($value[0])] = array(trim($value[1]),trim(array_search(trim($value[1]), $SchauspielerRollen))); $value = explode(">", $value);
$rolname= (isset($SchauspielerRollen[trim($value[1])])?$SchauspielerRollen[trim($value[1])]:""); //$Schauspieler[trim($value[0])] = array(trim($value[1]),trim(array_search(trim($value[1]), $SchauspielerRollen)));
$array["Schauspieler"][trim($value[0])] = array(trim($value[1]),trim($rolname));// TODO isset hinzufügen (wegen notice meldung) $rolname= (isset($SchauspielerRollen[trim($value[1])])?$SchauspielerRollen[trim($value[1])]:"");
$array["Schauspieler"][trim($value[0])] = array(trim($value[1]),trim($rolname));// TODO isset hinzufügen (wegen notice meldung)
}
} }
//var_dump($array["Schauspieler"]); //var_dump($array["Schauspieler"]);
......
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