diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 04:22:35 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 04:22:35 +0000 |
commit | 9bb993778bc7a0c6f17673e509ed147202e69ee7 (patch) | |
tree | afb5951de431ea1cb5e0e0048d7f120ff28b23ef /mod/sitepages/actions/addmeta.php | |
parent | 4e2a58e02ae4fe55ebc801a816c6ddb304df4b18 (diff) | |
download | elgg-9bb993778bc7a0c6f17673e509ed147202e69ee7.tar.gz elgg-9bb993778bc7a0c6f17673e509ed147202e69ee7.tar.bz2 |
Added dynamic keywords for view and entity.
Separated logged in and logged out front page views.
Fixed a problem with saving metatags.
Added PHPDoc headers.
Updated language strings.
git-svn-id: http://code.elgg.org/elgg/trunk@5315 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/actions/addmeta.php')
-rw-r--r-- | mod/sitepages/actions/addmeta.php | 4 |
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;
|