diff --git a/src/public/edit.php b/src/public/edit.php index 7d9759c..4d2e0e3 100644 --- a/src/public/edit.php +++ b/src/public/edit.php @@ -400,6 +400,12 @@ else { { // Refresh magnet data $magnet = $db->getMagnet($magnet->magnetId); + + // Replace fields by last POST data + foreach ($_POST as $key => $value) + { + $magnet->{$key} = $value; + } } }