Attaching a file produces an error after the user followed the admin message (after 2.2.0 upgrade)
Code:
Database error in vBulletin 4.2.1:
Invalid SQL:
INSERT INTO pt_issueattach
(attachmentid, userid, issueid, visible)
VALUES
(1364, 1, 3, 1);
MySQL Error : Unknown column 'userid' in 'field list'
Error Number : 1054
The 'userid' field is called by projectpost.php?do=uploadattachment and is useless as we have this userid in the attachment table of vBulletin 4 and attachments informations are linked via the attachmentid (the pt_issueattach table is needed for handling the highlight patches without altering the attachment table).