Fix PodcastService PHP error in podcast generation

This commit is contained in:
Ciaby 2019-01-12 00:34:06 +01:00
parent 6b68f04790
commit 2f77c40ed4
1 changed files with 1 additions and 2 deletions

View File

@ -412,8 +412,7 @@ class Application_Service_PodcastService
if (empty($value)) {
return null;
}
$child = $node->addChild($name, null, $namespace);
$child->{0} = $value;
$child = $node->addChild($name, $value, $namespace);
return $child;
}