aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages/start.php')
-rw-r--r--mod/sitepages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/start.php b/mod/sitepages/start.php
index 4a2b15dcd..93b6c196e 100644
--- a/mod/sitepages/start.php
+++ b/mod/sitepages/start.php
@@ -40,7 +40,7 @@ function sitepages_init() {
elgg_extend_view('html_head/extend', 'sitepages/metatags');
// Replace the default index page if user has requested and the site is not running walled garden
- if (get_plugin_setting('ownfrontpage', 'sitepages') == 'yes') {
+ if (elgg_get_plugin_setting('ownfrontpage', 'sitepages') == 'yes') {
elgg_register_plugin_hook_handler('index', 'system', 'sitepages_custom_index');
}