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:
@@ -1,3 +1,5 @@
|
||||
2018-02-10 DariusIII
|
||||
* Chg: Update Utility class, replace deprecated each function
|
||||
2018-02-09 DariusIII
|
||||
* Chg: Update laravel/framework to version 5.6.3
|
||||
* Chg: Use categoryid to cache root category children
|
||||
|
||||
@@ -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