Skip to content

A free open source IT asset/license management system

Use object accessor instead of array accessor

Marcus Moore3580bdae86cf
diff --git a/app/Models/CheckoutAcceptance.php b/app/Models/CheckoutAcceptance.php
index d68ac7ab7c..4cdc5b073b 100644
--- a/app/Models/CheckoutAcceptance.php
+++ b/app/Models/CheckoutAcceptance.php
@@ -21,7 +21,7 @@ class CheckoutAcceptance extends Model
{
// At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications.
- return Setting::getSettings()['alert_email'];
+ return Setting::getSettings()->alert_email;
}
/**