diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 11:13:06 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 11:13:06 +0000 |
commit | ed6238f72c00f27b5df94f478d4ff70ab91982a2 (patch) | |
tree | 03d8b8e7e925e2549b5117b87a301d3f42b7b5aa /actions/admin/site/update_basic.php | |
parent | 57f49dfda6a79b58b2721886684cee9ad2479708 (diff) | |
download | elgg-ed6238f72c00f27b5df94f478d4ff70ab91982a2.tar.gz elgg-ed6238f72c00f27b5df94f478d4ff70ab91982a2.tar.bz2 |
sitedescription now loaded into config and displayed
git-svn-id: https://code.elgg.org/elgg/trunk@1525 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/site/update_basic.php')
-rw-r--r-- | actions/admin/site/update_basic.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index d45e54e76..d86ec9981 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -44,8 +44,10 @@ unset_config('debug', $site->getGUID()); - $site->save();
- system_message(elgg_echo("admin:configuration:success"));
+ if ($site->save()) + system_message(elgg_echo("admin:configuration:success")); + else + register_error(elgg_echo("admin:configuration:fail"));
header("Location: {$CONFIG->wwwroot}admin/site/");
exit;
|