Frontend tweaks to podcasting + new abstract datatables functionality
This commit is contained in:
parent
3db20bd3b5
commit
373ff55923
10 changed files with 82 additions and 66 deletions
|
@ -73,10 +73,6 @@ class Podcast extends BasePodcast
|
|||
|
||||
$podcastArray["episodes"] = array();
|
||||
foreach ($rss->item as $item) {
|
||||
// Same as above, we need to explicitly cast the SimpleXMLElement 'array' into an actual array
|
||||
foreach($item as $k => $v) {
|
||||
$array[$k] = (string)$v;
|
||||
}
|
||||
array_push($podcastArray["episodes"], $item);
|
||||
}
|
||||
return $podcastArray;
|
||||
|
@ -113,10 +109,6 @@ class Podcast extends BasePodcast
|
|||
|
||||
$podcastArray["episodes"] = array();
|
||||
foreach ($rss->item as $item) {
|
||||
// Same as above, we need to explicitly cast the SimpleXMLElement 'array' into an actual array
|
||||
foreach($item as $k => $v) {
|
||||
$array[$k] = (string)$v;
|
||||
}
|
||||
array_push($podcastArray["episodes"], $item);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue