Skip to content
Snippets Groups Projects
Commit 3fd6e04d authored by Jared Hancock's avatar Jared Hancock
Browse files

db: Ensure utf8 encoding on the %ticket__cdata table

parent 6142e400
No related branches found
No related tags found
No related merge requests found
......@@ -471,7 +471,8 @@ class TicketForm extends DynamicForm {
// field.id=ans.field_id
// where entry.object_type='T' group by entry.object_id;
$sql = 'CREATE TABLE `'.TABLE_PREFIX.'ticket__cdata` (PRIMARY KEY
(ticket_id)) AS ' . static::getCrossTabQuery('T', 'ticket_id');
(ticket_id)) DEFAULT CHARSET=utf8 AS '
. static::getCrossTabQuery('T', 'ticket_id');
db_query($sql);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment