diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-04-29 16:35:07 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-04-29 16:35:07 +0000 |
commit | 9251fdf3fb46b9b1c1471d05dc67844ef6a3b011 (patch) | |
tree | ebc201ebffe57abe7a5676caf7ee8640ac7c3694 /admin/site_update.php | |
parent | 0997165e0bd559fa2fb7784974c410a10aed5237 (diff) |
bug 362: remote site update fails when inserting new cat (MySql err 1048)
git-svn-id: http://piwigo.org/svn/trunk@1296 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/site_update.php | 2 |
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'}), |