strange email error on mssql

I have a setup an inbound email and one user is receiving it.
When this user is viewing his list of emails it shows it correctly but a strange and Fatal error is reported.

[FATAL] Query Failed:SELECT emails.*, users.user_name as assigned_user_name
FROM emails
LEFT JOIN users ON emails.assigned_user_id=users.id
WHERE emails.uid LIKE [color=#ff4400]“1”[/color] AND emails.deleted=0
ORDER BY date_sent DESC::: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Invalid column name ‘1’.

I have run the same query against database and it has incorrect syntax because it should have only ‘’ and not “” after like operator.

Is this a bug?

Version 7.9.12

Sounds like it, Are you able to create this in Github?

https://github.com/salesagility/SuiteCRM/issues

Submitted. https://github.com/salesagility/SuiteCRM/issues/5250