aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_advanced.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/site/update_advanced.php b/actions/admin/site/update_advanced.php
index d4796ea7d..23d622a62 100644
--- a/actions/admin/site/update_advanced.php
+++ b/actions/admin/site/update_advanced.php
@@ -25,7 +25,7 @@ if ($site = elgg_get_site_entity()) {
elgg_disable_simplecache();
}
- if (get_input('viewpath_cache_enabled')) {
+ if (get_input('system_cache_enabled')) {
elgg_enable_system_cache();
} else {
elgg_disable_system_cache();