Diaspora: Support for new fetch functionality (replacement for /p/)

This commit is contained in:
Michael Vogel 2016-06-29 22:50:30 +02:00
parent 3a5d98507d
commit 2d72e2d932
4 changed files with 108 additions and 13 deletions

View file

@ -44,7 +44,7 @@ class xml {
}
foreach($array as $key => $value) {
if ($key == "@attributes") {
if (substr($key, 0, 11) == "@attributes") {
if (!isset($element) OR !is_array($value))
continue;