mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02:00
2014-09-19 Alban Peignier <alban@tryphon.eu>
* Fixed 'web/rdxport/carts.cpp' which tried to create associated group during cart creation
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user