aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-17 14:27:05 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-17 14:27:05 +0000
commita39f0353a3da37723892b3986996c8d14d466679 (patch)
treeb7b11da3e456755dc8d81ec0f94851d3fa5d7c89
parent984d4c0bfc4cdbba9060eaea16323a6c20212e29 (diff)
downloadelgg-a39f0353a3da37723892b3986996c8d14d466679.tar.gz
elgg-a39f0353a3da37723892b3986996c8d14d466679.tar.bz2
missing ] added to the frontpage action file
git-svn-id: http://code.elgg.org/elgg/trunk@5791 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/sitepages/actions/addfront.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/actions/addfront.php b/mod/sitepages/actions/addfront.php
index 8187862a7..00b04dbcb 100644
--- a/mod/sitepages/actions/addfront.php
+++ b/mod/sitepages/actions/addfront.php
@@ -16,7 +16,7 @@ $logged_in_content = get_input('logged_in_content', '', FALSE);
$logged_out_content = get_input('logged_out_content', '', FALSE);
// do some error checking to make sure you can't lock yourself out of your front page.
-if (FALSE === strpos($logged_out_content, '[loginbox')) {
+if (FALSE === strpos($logged_out_content, '[loginbox]')) {
register_error(elgg_echo('sitepages:error:no_login'));
forward($_SERVER['HTTP_REFERER']);
}