1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
This commit is contained in:
David Bomba 2023-11-24 14:35:56 +11:00
parent cab854287f
commit cc76c02d42
4 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
5.7.53
5.7.54

View File

@ -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);

View File

@ -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',
];

View File

@ -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),