Fix PodcastService PHP error in podcast generation
This commit is contained in:
parent
6b68f04790
commit
2f77c40ed4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue