mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Use value already computed
This commit is contained in:
@@ -111,7 +111,7 @@ class BulkAssetCheckoutMail extends Mailable
|
||||
|
||||
private function getRequiresAcceptanceInfo(): ?string
|
||||
{
|
||||
if (!$this->requiresAcceptance()) {
|
||||
if (!$this->requires_acceptance) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ class BulkAssetCheckoutMail extends Mailable
|
||||
|
||||
private function getRequiresAcceptancePrompt(): ?string
|
||||
{
|
||||
if (!$this->requiresAcceptance()) {
|
||||
if (!$this->requires_acceptance) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user