mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
v5.7.54
This commit is contained in:
parent
cab854287f
commit
cc76c02d42
@ -1 +1 @@
|
||||
5.7.53
|
||||
5.7.54
|
@ -69,7 +69,7 @@ class EmailController extends BaseController
|
||||
/** @var \App\Models\User $user */
|
||||
$user = auth()->user();
|
||||
|
||||
if ($request->has('cc_email') && (Ninja::isSelfHost() || $user->account->isPaidHostedClient())) {
|
||||
if ($request->cc_email && (Ninja::isSelfHost() || $user->account->isPaidHostedClient())) {
|
||||
|
||||
foreach($request->cc_email as $email)
|
||||
$mo->cc[] = new Address($email);
|
||||
|
@ -43,7 +43,7 @@ class SendEmailRequest extends Request
|
||||
'template' => 'bail|required',
|
||||
'entity' => 'bail|required',
|
||||
'entity_id' => 'bail|required',
|
||||
'cc_email.*' => 'bail|sometimes|email|nullable',
|
||||
'cc_email.*' => 'bail|sometimes|email',
|
||||
];
|
||||
|
||||
|
||||
|
@ -17,8 +17,8 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => env('APP_VERSION','5.7.53'),
|
||||
'app_tag' => env('APP_TAG','5.7.53'),
|
||||
'app_version' => env('APP_VERSION','5.7.54'),
|
||||
'app_tag' => env('APP_TAG','5.7.54'),
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
Loading…
Reference in New Issue
Block a user