mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-01-06 21:00:22 -06:00
Fix using reserved word
This commit is contained in:
@@ -211,7 +211,7 @@ class TextBlockModule {
|
||||
|
||||
$icon = html_entity_decode('&#' . $icon, ENT_COMPAT | ENT_QUOTES);
|
||||
|
||||
ChatMsgModel::raw('INSERT INTO `' . ChatMsgModel::tableName() . '` (userId, message, system, created_at) VALUES(?, ?, 1, CURRENT_TIMESTAMP)', [
|
||||
ChatMsgModel::raw('INSERT INTO `' . ChatMsgModel::tableName() . '` (userId, message, sysmsg, created_at) VALUES(?, ?, 1, CURRENT_TIMESTAMP)', [
|
||||
$user->get('id'),
|
||||
$icon . ' ' . $message
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user