change for torrents-edit.php code to this because with code in first post it whwn you unclick sticky torrent it doesnt show torrent in torrenttable anymore and dont have 0 in database. hope you understanded me.
this is the right code for site to write right in db
if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "freeleech = '" . ($_POST["freeleech"] ? "1" : "0") . "'";
if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "sticky = '" . ($_POST["sticky"] ? "1" : "0") . "'";