diff options
author | Friendika <info@friendika.com> | 2011-08-25 06:01:40 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-25 06:01:40 -0700 |
commit | 1b33ba6587766d939ac37c1ca60aa5c012e4da9d (patch) | |
tree | fc7fc3229decfe458f34751c15b495d9f79d45d8 /include/network.php | |
parent | 83605cf3dc03be7c2ddad48d04aede90d68069e3 (diff) | |
download | volse-hubzilla-1b33ba6587766d939ac37c1ca60aa5c012e4da9d.tar.gz volse-hubzilla-1b33ba6587766d939ac37c1ca60aa5c012e4da9d.tar.bz2 volse-hubzilla-1b33ba6587766d939ac37c1ca60aa5c012e4da9d.zip |
third attempt to get rid of this stupid warning
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php index f0dd828d1..691a8c9f9 100644 --- a/include/network.php +++ b/include/network.php @@ -536,7 +536,7 @@ function fetch_xrd_links($url) { $aliases = array($alias); else $aliases = $alias; - if($aliases && count($aliases)) { + if(is_array($aliases) && count($aliases)) { foreach($aliases as $alias) { $links[]['@attributes'] = array('rel' => 'alias' , 'href' => $alias); } |