mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-04-23 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'web/rdxport/'. * Replaced " with ' delimiters in all SQL literal strings in 'web/rdxport/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -60,8 +60,8 @@ void Xport::DeleteAudio()
|
||||
}
|
||||
unlink(RDCut::pathName(cartnum,cutnum).toUtf8());
|
||||
unlink((RDCut::pathName(cartnum,cutnum)+".energy").toUtf8());
|
||||
QString sql=QString("delete from CUT_EVENTS where ")+
|
||||
"CUT_NAME=\""+RDCut::cutName(cartnum,cutnum)+"\"";
|
||||
QString sql=QString("delete from `CUT_EVENTS` where ")+
|
||||
"`CUT_NAME`='"+RDCut::cutName(cartnum,cutnum)+"'";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
SendNotification(RDNotification::CartType,RDNotification::ModifyAction,
|
||||
|
||||
Reference in New Issue
Block a user