diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/include/functions.php | 4 | ||||
-rw-r--r-- | admin/site_update.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index a7402080e..da21be52c 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1606,13 +1606,13 @@ SELECT id, uppercats, global_rank, visible, status } else { - $insert{'status'} = boolean_to_string($conf['newcat_default_status']); + $insert{'status'} = $conf['newcat_default_status']; } } else { $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']); - $insert{'status'} = boolean_to_string($conf['newcat_default_status']); + $insert{'status'} = $conf['newcat_default_status']; $insert{'global_rank'} = $insert{'rank'}; } diff --git a/admin/site_update.php b/admin/site_update.php index ac4c22c24..3347afcc8 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -252,7 +252,7 @@ SELECT IF(MAX(id)+1 IS NULL, 1, MAX(id)+1) AS next_id 'uploadable' => $site_is_remote ? false : boolean_to_string($conf['newcat_default_uploadable']), - 'status' => boolean_to_string($conf{'newcat_default_status'}), + 'status' => $conf{'newcat_default_status'}, 'visible' => boolean_to_string($conf{'newcat_default_visible'}), ); |