mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02: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:
@@ -107,7 +107,8 @@ void AddReplicator::okData()
|
||||
}
|
||||
|
||||
sql=QString("insert into `REPLICATORS` set ")+
|
||||
"`NAME`='"+RDEscapeString(repl_name_edit->text())+"'";
|
||||
"`NAME`='"+RDEscapeString(repl_name_edit->text())+"',"+
|
||||
QString().sprintf("`TYPE_ID`=%u",RDReplicator::TypeCitadelXds);
|
||||
q=new RDSqlQuery(sql);
|
||||
if(!q->isActive()) {
|
||||
QMessageBox::warning(this,tr("Replicator Exists"),tr("A replicator with that name already exists!"));
|
||||
|
Reference in New Issue
Block a user