aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/sitepages/views/default/sitepages/forms/editmeta.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/views/default/sitepages/forms/editmeta.php b/mod/sitepages/views/default/sitepages/forms/editmeta.php
index 84a8297fc..3939a8447 100644
--- a/mod/sitepages/views/default/sitepages/forms/editmeta.php
+++ b/mod/sitepages/views/default/sitepages/forms/editmeta.php
@@ -11,7 +11,7 @@
$action = 'sitepages/addmeta';
-if ($sitepages_object = sitepages_get_sitepage_object('front')) {
+if ($sitepages_object = sitepages_get_sitepage_object('seo')) {
$meta_tags = $sitepages_object->title;
$meta_description = $sitepages_object->description;
} else {