# HG changeset patch # User Matti Hamalainen # Date 1417025478 -7200 # Node ID c036db2c64a7fc41ee3231fe6027664e274cd215 # Parent 86ebd378af95908337a0baf0ca42ad5bfdeef08d Add missing SQL insert parameter. 10L. diff -r 86ebd378af95 -r c036db2c64a7 msite.inc.php --- a/msite.inc.php Wed Nov 26 20:04:18 2014 +0200 +++ b/msite.inc.php Wed Nov 26 20:11:18 2014 +0200 @@ -1073,7 +1073,7 @@ // Create new file entry $sql = stPrepareSQL( "INSERT INTO files (origname,filetype,filesize,entry_id,uploader_id,uploadtype,utime) ". - "VALUES (%s,%s,%d,%d,%d,%d)", + "VALUES (%s,%s,%d,%d,%d,%s,%d)", $origName, $fileType, $fileSize, $entry["id"], $uploaderID, $type, time()); if (($fileID = stExecSQLInsert($sql)) === false)