mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Use object accessor instead of array accessor
This commit is contained in:
parent
39289dd18e
commit
3580bdae86
|
@ -21,7 +21,7 @@ class CheckoutAcceptance extends Model
|
||||||
{
|
{
|
||||||
// At this point the endpoint is the same for everything.
|
// At this point the endpoint is the same for everything.
|
||||||
// In the future this may want to be adapted for individual notifications.
|
// In the future this may want to be adapted for individual notifications.
|
||||||
return Setting::getSettings()['alert_email'];
|
return Setting::getSettings()->alert_email;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue