From fdbf5fa164df203127fe9a8c3a54e92feb6dfe36 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 19 Apr 2021 17:16:27 -0400 Subject: [PATCH] 2021-04-19 Fred Gleason * Fixed regression in 'RDStation' that caused SQL errors. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ lib/rdstation.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4949ff91..627cce4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21473,3 +21473,5 @@ 'cae/'. 2021-04-19 Fred Gleason * Fixed regression in 'RDAudioPorts' that caused SQL errors. +2021-04-19 Fred Gleason + * Fixed regression in 'RDStation' that caused SQL errors. diff --git a/lib/rdstation.cpp b/lib/rdstation.cpp index 266809d3..ffee6713 100644 --- a/lib/rdstation.cpp +++ b/lib/rdstation.cpp @@ -1597,7 +1597,7 @@ bool RDStation::create(const QString &name,QString *err_msg, QString().sprintf("`ROW_NO`=%d,",q->value(1).toInt())+ QString().sprintf("`COLUMN_NO`=%d,",q->value(2).toInt())+ "`LABEL`='"+RDEscapeString(q->value(3).toString())+"',"+ - QString().sprintf("`CART=%u,",q->value(4).toUInt())+ + QString().sprintf("`CART`=%u,",q->value(4).toUInt())+ "`DEFAULT_COLOR`='"+RDEscapeString(q->value(5).toString())+"',"+ QString().sprintf("`TYPE`=%d,",RDAirPlayConf::StationPanel)+ "`OWNER`='"+RDEscapeString(name)+"'";