aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_attachments.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_attachments.php')
-rw-r--r--phpBB/modules/acp/acp_attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/acp/acp_attachments.php b/phpBB/modules/acp/acp_attachments.php
index 580490d472..a6c35acdbd 100644
--- a/phpBB/modules/acp/acp_attachments.php
+++ b/phpBB/modules/acp/acp_attachments.php
@@ -1002,8 +1002,8 @@ class acp_attachments
if ($files_added)
{
- set_config('upload_dir_size', phpbb::$config['upload_dir_size'] + $space_taken, true);
- set_config('num_files', phpbb::$config['num_files'] + $files_added, true);
+ set_config_count('upload_dir_size', $space_taken, true);
+ set_config_count('num_files', $files_added, true);
}
}
}