more spaces + some curly spaces added
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
ed0d858f98
commit
fbd559a823
|
@ -1379,7 +1379,7 @@ function conv_sort($arr,$order) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*foreach($arr as $x) {
|
/*foreach ($arr as $x) {
|
||||||
if ($x['id'] != $x['parent']) {
|
if ($x['id'] != $x['parent']) {
|
||||||
$p = find_thread_parent_index($parents,$x);
|
$p = find_thread_parent_index($parents,$x);
|
||||||
if ($p !== false)
|
if ($p !== false)
|
||||||
|
|
|
@ -50,7 +50,7 @@ class ostatus {
|
||||||
|
|
||||||
$alternate = $xpath->query("atom:author/atom:link[@rel='alternate']", $context)->item(0)->attributes;
|
$alternate = $xpath->query("atom:author/atom:link[@rel='alternate']", $context)->item(0)->attributes;
|
||||||
if (is_object($alternate)) {
|
if (is_object($alternate)) {
|
||||||
/// @TODO foreach() may only later work on objects that have iterator interface implemented, please check this
|
/// @TODO foreach () may only later work on objects that have iterator interface implemented, please check this
|
||||||
foreach ($alternate AS $attributes) {
|
foreach ($alternate AS $attributes) {
|
||||||
if ($attributes->name == "href") {
|
if ($attributes->name == "href") {
|
||||||
$author["author-link"] = $attributes->textContent;
|
$author["author-link"] = $attributes->textContent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user