diff options
author | Jerome Bakker <jeabakker@coldtrick.com> | 2012-01-18 17:54:36 +0100 |
---|---|---|
committer | Jerome Bakker <jeabakker@coldtrick.com> | 2012-01-18 17:54:36 +0100 |
commit | 4475c407da7af8aef22b05d42a47d25019e68093 (patch) | |
tree | b20049b479c4a6b6efeb0885bcb9d3763cd1ce34 /actions/admin | |
parent | 862ae30b9ea5544c28d5a2c36ebb416ed958c5e5 (diff) | |
download | elgg-4475c407da7af8aef22b05d42a47d25019e68093.tar.gz elgg-4475c407da7af8aef22b05d42a47d25019e68093.tar.bz2 |
solves part of #4307
Diffstat (limited to 'actions/admin')
-rw-r--r-- | actions/admin/site/update_advanced.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/admin/site/update_advanced.php b/actions/admin/site/update_advanced.php index 7d57f78ea..12c5542e7 100644 --- a/actions/admin/site/update_advanced.php +++ b/actions/admin/site/update_advanced.php @@ -9,8 +9,7 @@ * @subpackage Administration.Site */ -if (datalist_get('default_site')) { - $site = get_entity(datalist_get('default_site')); +if ($site = elgg_get_site_entity()) { if (!($site instanceof ElggSite)) { throw new InstallationException(elgg_echo('InvalidParameterException:NonElggSite')); } |