Merge branch 'tryphon-xport-addcart-create-group'

Fixed incorrect passing of 'this' to RDGroup constructor.
This commit is contained in:
Fred Gleason 2014-09-20 22:08:17 -04:00
commit 8e2a6c5e1d
2 changed files with 4 additions and 1 deletions

View File

@ -14489,3 +14489,6 @@
2014-09-20 Alban Peignier <alban@tryphon.eu>
* Merged patch from albanpeignier to use global cue assignments
for RDCueEdit, Audition Hea/Tail in RDAirPlay [GitHub issue #000024].
2014-09-19 Alban Peignier <alban@tryphon.eu>
* Fixed 'web/rdxport/carts.cpp' which tried to create associated group
during cart creation

View File

@ -73,7 +73,7 @@ void Xport::AddCart()
if(!xport_user->groupAuthorized(group_name)) {
XmlExit("No such group",404);
}
group=new RDGroup(group_name,this);
group=new RDGroup(group_name);
if(cart_number==0) {
if((cart_number=group->nextFreeCart())==0) {
delete group;