mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02:00
2021-12-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a SQL escaping bug in 'lib/export_resultsrecon.cpp'. * Fixed a SQL escaping bug in 'lib/rdlibrarymodel.cpp'. * Fixed a SQL escaping bug in 'rdlibrary/rdlibrary.cpp'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -691,7 +691,7 @@ void MainWidget::notificationReceivedData(RDNotification *notify)
|
||||
unsigned cartnum=notify->id().toUInt();
|
||||
switch(notify->action()) {
|
||||
case RDNotification::AddAction:
|
||||
and_fields.push_back(QString::asprintf("CART.NUMBER=%u",cartnum));
|
||||
and_fields.push_back(QString::asprintf("`CART`.`NUMBER`=%u",cartnum));
|
||||
sql=QString("select ")+
|
||||
"`CART`.`NUMBER` "+ // 00
|
||||
"from `CART` "+
|
||||
|
Reference in New Issue
Block a user