mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2021-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) that threw a SQL error when attempting to create a new Replicator entry. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -242,7 +242,7 @@ void RDReplicatorListModel::updateRowLine(int line)
|
||||
if(line<d_texts.size()) {
|
||||
QString sql=sqlFields()+
|
||||
"where `REPLICATORS`.`NAME`='"+
|
||||
RDEscapeString(d_texts.at(line).at(line).toString())+"'";
|
||||
RDEscapeString(d_texts.at(line).at(0).toString())+"'";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
updateRow(line,q);
|
||||
|
||||
Reference in New Issue
Block a user