>
<!
>I cant find what is causing this ...any help would be great
[SELECT A1.`id`, A1.`pid`, A1.`thread_id`, A1.`staff_id`,
A1.`user_id`, A1.`type`, A1.`flags`, A1.`poster`, A1.`editor`,
A1.`editor_type`, A1.`source`, A1.`title`, A1.`body`, A1.`format`,
A1.`ip_address`, A1.`created`, A1.`updated`, A3.`staff_id`, A3.`dept_id`,
A3.`role_id`, A3.`username`, A3.`firstname`, A3.`lastname`, A3.`passwd`,
A3.`backend`, A3.`email`, A3.`phone`, A3.`phone_ext`, A3.`mobile`,
A3.`signature`, A3.`lang`, A3.`timezone`, A3.`locale`, A3.`notes`,
A3.`isactive`, A3.`isadmin`, A3.`isvisible`, A3.`onvacation`,
A3.`assigned_only`, A3.`show_assigned_tickets`, A3.`change_passwd`,
A3.`max_page_size`, A3.`auto_refresh_rate`, A3.`default_signature_type`,
A3.`default_paper_size`, A3.`extra`, A3.`permissions`, A3.`created`,
A3.`lastlogin`, A3.`passwdreset`, A3.`updated`, A4.`id`, A4.`org_id`,
A4.`default_email_id`, A4.`status`, A4.`name`, A4.`created`, A4.`updated`,
A2.`id`, A2.`thread_entry_id`, A2.`mid`, A2.`headers` FROM `ost_thread_entry`
A1 LEFT JOIN `ost_thread_entry_email` A2 ON (A1.`id` = A2.`thread_entry_id`)
LEFT JOIN `ost_staff` A3 ON (A1.`staff_id` = A3.`staff_id`) LEFT JOIN
`ost_user` A4 ON (A1.`user_id` = A4.`id`) WHERE A2.`mid` = ? ORDER BY A1.`` ASC
LIMIT 1