1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Bug fixes

This commit is contained in:
Hillel Coren 2015-05-13 18:32:59 +03:00
parent 140943f166
commit 19c1a33d52
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class ApiCheck {
}
if (!Utils::isNinja()) {
return null;
return $next($request);
}
if (!Utils::isPro()) {

View File

@ -39,7 +39,7 @@ class UserMailer extends Mailer
return;
}
$entityType = $invoice->getEntityType();
$entityType = $notificationType == 'approved' ? ENTITY_QUOTE : ENTITY_INVOICE;
$view = "{$entityType}_{$notificationType}";
$data = [