mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Update Utility class, replace deprecated each function
This commit is contained in:
@@ -652,7 +652,8 @@ class Utility
|
||||
foreach ($xml->children($namespace) as $childXml) {
|
||||
//recurse into child nodes
|
||||
$childArray = self::xmlToArray($childXml, $options);
|
||||
list($childTagName, $childProperties) = each($childArray);
|
||||
$childTagName = key($childArray);
|
||||
$childProperties = current($childArray);
|
||||
|
||||
//replace characters in tag name
|
||||
if ($options['keySearch']) {
|
||||
|
||||
Reference in New Issue
Block a user