aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-29 16:34:49 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-29 16:34:49 +0000
commitbf4a5612672028a72f45a02c59721acdd4dd1272 (patch)
tree912743d2d85c364f9b6d70ceaacecc288c9f5fca
parent9f9981f85e9321040220f4753a3d4a9178f2d249 (diff)
bug 362: remote site update fails when inserting new cat (MySql err 1048)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1295 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/site_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/site_update.php b/admin/site_update.php
index 3347afcc8..336d3ff26 100644
--- a/admin/site_update.php
+++ b/admin/site_update.php
@@ -250,7 +250,7 @@ SELECT IF(MAX(id)+1 IS NULL, 1, MAX(id)+1) AS next_id
'commentable' =>
boolean_to_string($conf['newcat_default_commentable']),
'uploadable' => $site_is_remote
- ? false
+ ? 'false'
: boolean_to_string($conf['newcat_default_uploadable']),
'status' => $conf{'newcat_default_status'},
'visible' => boolean_to_string($conf{'newcat_default_visible'}),