1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Fixes for base repo (#3393)

This commit is contained in:
David Bomba 2020-02-28 07:34:25 +11:00 committed by GitHub
parent 79a5f6b809
commit 7abab22c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ class CompanySettings extends BaseSettings {
'counter_padding' => 'integer',
'design' => 'string',
'website' => 'string',
'pdf_variables' => 'array',
'pdf_variables' => 'object',
];
/**

View File

@ -231,7 +231,7 @@ class BaseRepository
$new_invitation = $invitation_factory_class::create($model->company_id, $model->user_id);
$new_invitation->{$lcfirst_resource_id} = $model->id;
$new_invitation->client_contact_id = $this->decodePrimaryKey($invitation['client_contact_id']);
$new_invitation->client_contact_id = $invitation['client_contact_id'];
$new_invitation->save();
}