aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/manifest.xml4
-rw-r--r--mod/profile/views/default/profile/metatags.php4
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/profile/manifest.xml b/mod/profile/manifest.xml
index a1cff4dc2..f56604c7e 100644
--- a/mod/profile/manifest.xml
+++ b/mod/profile/manifest.xml
@@ -11,7 +11,7 @@
<license>GNU Public License Version 2</license>
<activate_on_install>true</activate_on_install>
<requires>
- <type>elgg_version</type>
- <version>2011010401</version>
+ <type>elgg_release</type>
+ <version>1.8</version>
</requires>
</plugin_manifest>
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