View Single Post
  #18  
Old 22nd December 2019, 23:00
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
should be


$poster


To match the poster


so it should be



Code:
$ret = sql_query("INSERT INTO torrents (search_text, filename, info_link, owner, visible, anonymous, zanri, free, info_hash, name, size, numfiles, type, descr, ori_descr, category, save_as, added, last_action, nfo, poster) VALUES (" . 
        implode(",", array_map("sqlesc", array(searchfield("$shortfname$dname$torrent"), $fname, $short_descr, $info_link, $CURUSER["id"], "no", $anonymous, $zanri, $freeleech, $infohash, $torrent, $totallen, count($filelist), $type, $descr, $descr, 0 + $_POST["type"], $dname))) . 
        ", '" . get_date_time() . "', '" . get_date_time() . "', $nfo, $poster)");  



This is call on a sql_query you do not have $torrentposter
Reply With Quote