Skip to content
Snippets Groups Projects
Commit c5c2e7a8 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#183 - Allow controlling own cart in cart trigger

parent 023e4e37
Branches
Tags
No related merge requests found
......@@ -64,11 +64,9 @@ public class CartTriggerItem extends TriggerItem implements LocalPadTrigger {
}
} else {
for (UUID uuid : uuids) {
if (!uuid.equals(source.getUuid())) {
Pad pad = project.getPad(uuid);
if (pad != null)
pad.setStatus(newStatus);
}
Pad pad = project.getPad(uuid);
if (pad != null)
pad.setStatus(newStatus);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment