mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-04-19 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'rdcatchd/'. * Replaced " with ' delimiters in all SQL literal strings in 'rdcatchd/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -146,7 +146,7 @@ void MainObject::RunBatch(RDCmdSwitch *cmd)
|
||||
//
|
||||
// Load Event
|
||||
//
|
||||
QString sql=LoadEventSql()+QString().sprintf(" where ID=%d",id);
|
||||
QString sql=LoadEventSql()+QString().sprintf(" where `ID`=%d",id);
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(!q->first()) {
|
||||
delete q;
|
||||
|
||||
Reference in New Issue
Block a user