From feb435e7d97b77059bad7bbc3bca31e9c3f9f27d Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 10 Jun 2021 15:39:54 -0400 Subject: [PATCH] 2021-06-10 Fred Gleason * Fixed a typo in 'RDClock::load()' that threw a SQL error. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ lib/rdclock.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a3a81de0..8b3f5121 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21874,3 +21874,5 @@ 2021-06-10 Fred Gleason * Refactored the 'Set Password' dialog so as to pass the password value in the 'RDPasswd::exec()' method. +2021-06-10 Fred Gleason + * Fixed a typo in 'RDClock::load()' that threw a SQL error. diff --git a/lib/rdclock.cpp b/lib/rdclock.cpp index 02716986..da32df17 100644 --- a/lib/rdclock.cpp +++ b/lib/rdclock.cpp @@ -138,7 +138,7 @@ bool RDClock::load() "`ARTISTSEP`,"+ // 02 "`REMARKS` "+ // 03 "from `CLOCKS` where "+ - "`NAME`='"+RDEscapeString(clock_name)+"i"; + "`NAME`='"+RDEscapeString(clock_name)+"'"; RDSqlQuery *q=new RDSqlQuery(sql); if(!q->first()) { delete q;