diff --git a/src/elements/SendoutElement.php b/src/elements/SendoutElement.php index 4bcd14c2..d3a69788 100755 --- a/src/elements/SendoutElement.php +++ b/src/elements/SendoutElement.php @@ -1040,11 +1040,7 @@ public function getPendingRecipients(): array */ public function getPendingRecipientCount(): int { - if ($this->_pendingRecipients !== null) { - return count($this->_pendingRecipients); - } - - return Campaign::$plugin->sendouts->getPendingRecipientCount($this); + return count($this->getPendingRecipients()); } /**