aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-27 21:07:22 +0000
committerplegall <plg@piwigo.org>2006-04-27 21:07:22 +0000
commitd6264b468c3708ac027c8caac40fd26c83143ed8 (patch)
treecc0c72e4ab161c99444393c6a380ef871bcb1a60 /admin/include
parent46900fece3a0ffb09a0a4fe58bae841a3978f79d (diff)
complement to revision 1282 (wrong commit, sorry)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1283 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php4
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'};
}