[INSERT INTO Support_attachment
SET file_id
= 2005, type
= 'D', object_id
= 6381]
Duplicate entry '6381-2005-D' for key 'file-type'<br /> <br />
---- Backtrace ----<br />
#0 (root)/include/mysqli.php(199): osTicket->logDBError('DB Error #1062', '[INSERT INTO S...')<br />
Su...', true, true)<br />
#1 (root)/include/class.orm.php(3455): db_query('INSERT INTO
#2 (root)/include/class.orm.php(658): MySqlExecutor->execute()<br />
#3 (root)/include/class.attachment.php(172): VerySimpleModel->save()<br />
#4 (root)/include/ajax.draft.php(101): GenericAttachments->upload(Array)<br />
#5 (root)/include/ajax.draft.php(230): DraftAjaxAPI->_uploadInlineImage(Object(Draft))<br />
#6 (root)/include/class.dispatcher.php(145): DraftAjaxAPI->uploadInlineImageClient('6381')<br />
#7 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('6381/attach', Array)<br />
#8 (root)/include/class.dispatcher.php(120): Dispatcher->resolve('6381/attach', Array)<br />
#9 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/draft/6381/att...', NULL)<br />
#10 (root)/ajax.php(50): Dispatcher->resolve('/draft/6381/att...')<br />
#11 {main}