From 23df8ca675ed7b86f77f5a84db7d877dd18221f2 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 5 Apr 2017 14:39:06 -0400 Subject: [PATCH] 2017-04-05 Fred Gleason * Fixed a regression in 'lib/carts.cpp' that broke cut listings in the 'ListCarts' web API call. --- ChangeLog | 3 +++ lib/rdcart.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1c335c9b..a6824452 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15709,3 +15709,6 @@ to the Edit User dialog in 'rdadmin/edit_user.cpp' and 'rdadmin/edit_user.h'. * Added a PAM service configuration in 'conf/rivendell.pam'. +2017-04-05 Fred Gleason + * Fixed a regression in 'lib/carts.cpp' that broke cut listings + in the 'ListCarts' web API call. diff --git a/lib/rdcart.cpp b/lib/rdcart.cpp index 3326e2f7..66cff049 100644 --- a/lib/rdcart.cpp +++ b/lib/rdcart.cpp @@ -1431,7 +1431,7 @@ QString RDCart::xml(RDSqlQuery *q,bool include_cuts, case RDCart::Audio: if(include_cuts) { cartnum=q->value(0).toUInt(); - if(q->value(28).toString().isEmpty()) { + if(q->value(29).toString().isEmpty()) { xml+=" \n"; } else {