aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index ef2fc2371..3d4e9cd01 100644
--- a/include/text.php
+++ b/include/text.php
@@ -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 '';