Closed berkerY closed 5 months ago
it's already solved :) ... you should change the conflict parameter for upsert function in Message.php as follow:
public function save() : bool
{
....
$sql = db()->syntax_upsert($data, _tbl('variables'), $sql_params, **['variable_name']**, ['id'], true);
....
}
You may want to fix the bug first for your code and close this.
Thanks. Now fixed in 46bb4d4.
I get the following db error when editing a message: