diff --git a/src/public/edit.php b/src/public/edit.php index 2f8b962..186154e 100644 --- a/src/public/edit.php +++ b/src/public/edit.php @@ -244,10 +244,14 @@ else { } // Social - $db->updateMagnetPublic($magnet->magnetId, isset($_POST['public']) ? true : false, time()); $db->updateMagnetComments($magnet->magnetId, isset($_POST['comments']) ? true : false, time()); $db->updateMagnetSensitive($magnet->magnetId, isset($_POST['sensitive']) ? true : false, time()); + if (isset($_POST['public'])) // could be enabled once only because of distributed database model #1 + { + $db->updateMagnetPublic($magnet->magnetId, true, time()); + } + // Display Name if (isset($_POST['dn'])) { @@ -640,12 +644,12 @@ else {