Browse Source

php error when no aliases

pull/1/head
Friendika 10 years ago
parent
commit
c97652a044
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/network.php

+ 1
- 1
include/network.php View File

@ -536,7 +536,7 @@ function fetch_xrd_links($url) {
$aliases = array($alias);
else
$aliases = $alias;
if(count($aliases)) {
if($aliases && count($aliases)) {
foreach($aliases as $alias) {
$links[]['@attributes'] = array('rel' => 'alias' , 'href' => $alias);
}


Loading…
Cancel
Save