diff options
author | cash <cash.costello@gmail.com> | 2011-10-24 22:36:08 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-24 22:36:08 -0400 |
commit | e1b8b96b1eaf41416ce08574c5b9b51530947cf0 (patch) | |
tree | d846606475dbf211552ceeaaadf585fefad43a49 /mod/profile/views/default | |
parent | 84a0b9670cc2a0b1efe75f1233311ef8152a9ab0 (diff) | |
download | elgg-e1b8b96b1eaf41416ce08574c5b9b51530947cf0.tar.gz elgg-e1b8b96b1eaf41416ce08574c5b9b51530947cf0.tar.bz2 |
Refs #3201 updated foaf link to only be added to user's pages
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/metatags.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/metatags.php b/mod/profile/views/default/profile/metatags.php index 54ee322e2..c6f674e6d 100644 --- a/mod/profile/views/default/profile/metatags.php +++ b/mod/profile/views/default/profile/metatags.php @@ -6,7 +6,9 @@ * */ -if (elgg_get_page_owner_entity()) { +$owner = elgg_get_page_owner_entity(); + +if (elgg_instanceof($owner, 'user')) { ?> <link rel="meta" type="application/rdf+xml" title="FOAF" href="<?php echo full_url(); ?>?view=foaf" /> <?php |