get_rel_link broken - also weekly doc updates

This commit is contained in:
friendica
2015-02-06 02:07:10 -08:00
parent e7a68eaef0
commit 7edab47658
75 changed files with 2701 additions and 2410 deletions

View File

@@ -1948,7 +1948,7 @@ function find_xchan_in_array($xchan,$arr) {
function get_rel_link($j,$rel) {
if(is_array($j) && ($j))
foreach($j as $l)
if(array_key_exists('rel',$j) && $l['rel'] === $rel && array_key_exists('href',$l))
if(array_key_exists('rel',$l) && $l['rel'] === $rel && array_key_exists('href',$l))
return $l['href'];
return '';