diff --git a/ChangeLog b/ChangeLog index b2267daa..9912605f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21477,3 +21477,5 @@ * Fixed regression in 'RDStation' that caused SQL errors. 2021-04-19 Fred Gleason * Fixed various regressions in rdadmin(1) that caused SQL errors. +2021-04-19 Fred Gleason + * Fixed regression in 'RDSystem' that caused SQL errors. diff --git a/lib/rdsystem.cpp b/lib/rdsystem.cpp index 1a5e8ab3..9932d1a3 100644 --- a/lib/rdsystem.cpp +++ b/lib/rdsystem.cpp @@ -243,7 +243,7 @@ void RDSystem::SetRow(const QString ¶m,QString value) const param+"`=NULL"; } else { - sql=QString("update `SYSTEM` set ")+ + sql=QString("update `SYSTEM` set `")+ param+"`='"+RDEscapeString(value)+"'"; } RDSqlQuery::apply(sql);