Skip to content
Snippets Groups Projects
Commit 6329653b authored by endless_wander's avatar endless_wander Committed by Owen Bush
Browse files

Issue #3325744 by endless_wander: Add a hasAvailability() method to RegistrationCreationService

parent 2e450d9d
No related branches found
No related tags found
No related merge requests found
......@@ -690,7 +690,7 @@ class RegistrationCreationService {
return;
}
if ($this->retrieveAvailability() > 0) {
if ($this->hasAvailability()) {
$first_waitlist = $this->retrieveFirstWaitlistParty();
if (!empty($first_waitlist)) {
$first_waitlist->setWaitlist('0');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment