mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Bug fixes
This commit is contained in:
parent
140943f166
commit
19c1a33d52
@ -35,7 +35,7 @@ class ApiCheck {
|
||||
}
|
||||
|
||||
if (!Utils::isNinja()) {
|
||||
return null;
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if (!Utils::isPro()) {
|
||||
|
@ -39,7 +39,7 @@ class UserMailer extends Mailer
|
||||
return;
|
||||
}
|
||||
|
||||
$entityType = $invoice->getEntityType();
|
||||
$entityType = $notificationType == 'approved' ? ENTITY_QUOTE : ENTITY_INVOICE;
|
||||
$view = "{$entityType}_{$notificationType}";
|
||||
|
||||
$data = [
|
||||
|
Loading…
Reference in New Issue
Block a user