aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/actions/addmeta.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages/actions/addmeta.php')
-rw-r--r--mod/sitepages/actions/addmeta.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sitepages/actions/addmeta.php b/mod/sitepages/actions/addmeta.php
index e9f40cdb4..e5c947776 100644
--- a/mod/sitepages/actions/addmeta.php
+++ b/mod/sitepages/actions/addmeta.php
@@ -19,8 +19,8 @@ $metatags = get_input('metatags', '', FALSE);
$_SESSION['description'] = $description;
$_SESSION['metatags'] = $metatags;
-if (!$sitepage = sitepages_get_sitepage_object('front')) {
- $sitepage = sitepages_create_sitepage_object('front');
+if (!$sitepage = sitepages_get_sitepage_object('seo')) {
+ $sitepage = sitepages_create_sitepage_object('seo');
}
$sitepage->title = $metatags;