One more try on #4001

This commit is contained in:
snipe 2017-09-25 22:05:57 -07:00
parent abc2f7e789
commit 4b9bfc178d

View file

@ -94,7 +94,7 @@ class CheckoutNotification extends Notification
'item_tag' => $item->asset_tag, 'item_tag' => $item->asset_tag,
'note' => $this->params['note'], 'note' => $this->params['note'],
'item_serial' => $item->serial, 'item_serial' => $item->serial,
'require_acceptance' => $item->requireAcceptance(), 'require_acceptance' => method_exists($item, 'requireAcceptance') ? $item->requireAcceptance() : '',
'log_id' => $this->params['log_id'], 'log_id' => $this->params['log_id'],
]; ];
return (new MailMessage) return (new MailMessage)