aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-24 22:36:08 -0400
committercash <cash.costello@gmail.com>2011-10-24 22:36:08 -0400
commite1b8b96b1eaf41416ce08574c5b9b51530947cf0 (patch)
treed846606475dbf211552ceeaaadf585fefad43a49 /mod/profile/views
parent84a0b9670cc2a0b1efe75f1233311ef8152a9ab0 (diff)
downloadelgg-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')
-rw-r--r--mod/profile/views/default/profile/metatags.php4
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