diff options
author | plegall <plg@piwigo.org> | 2006-04-27 21:08:50 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2006-04-27 21:08:50 +0000 |
commit | b0751afea224486bb4b423e569e2c75a502b4e35 (patch) | |
tree | df1273a466fac42bb59e26092fe9219b96207ceb /admin/include/functions.php | |
parent | f8d72e48d0f65d5f57aabb236c5fa6e412d88d2b (diff) |
merge -r1281:1283 from branch 1.6 to trunk (bug 228 fixed one more time, and
other little things)
git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r-- | admin/include/functions.php | 4 |
1 files changed, 2 insertions, 2 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'}; } |