aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/functions_upload.inc.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php
index 2dc21d7bf..84c00a90e 100644
--- a/admin/include/functions_upload.inc.php
+++ b/admin/include/functions_upload.inc.php
@@ -146,21 +146,15 @@ function prepare_upload_configuration()
if (!isset($conf[$param_name]))
{
- $param_value = boolean_to_string($param['default']);
+ $conf[$param_name] = $param['default'];
array_push(
$inserts,
array(
'param' => $param_name,
- 'value' => $param_value,
+ 'value' => boolean_to_string($param['default']),
)
);
-
- $conf[$param_name] = $param_value;
- if (is_bool($param['default']))
- {
- $conf[$param_name] = get_boolean($param_value);
- }
}
}