diff options
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r-- | mod/siteinfo.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php index ef0dde065..c1d65fadd 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -55,6 +55,7 @@ function siteinfo_init(&$a) { $channels_active_halfyear_stat = intval(get_config('system','channels_active_halfyear_stat')); $channels_active_monthly_stat = intval(get_config('system','channels_active_monthly_stat')); $local_posts_stat = intval(get_config('system','local_posts_stat')); + $hide_in_statistics = intval(get_config('system','hide_in_statistics')); $data = Array( 'version' => RED_VERSION, @@ -75,7 +76,7 @@ function siteinfo_init(&$a) { 'channels_active_halfyear' => $channels_active_halfyear_stat, 'channels_active_monthly' => $channels_active_monthly_stat, 'local_posts' => $local_posts_stat, - 'hide_in_statistics' => get_config('system','hide_in_statistics') + 'hide_in_statistics' => $hide_in_statistics ); json_return_and_die($data); } |