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:
parent
79a5f6b809
commit
7abab22c43
@ -381,7 +381,7 @@ class CompanySettings extends BaseSettings {
|
||||
'counter_padding' => 'integer',
|
||||
'design' => 'string',
|
||||
'website' => 'string',
|
||||
'pdf_variables' => 'array',
|
||||
'pdf_variables' => 'object',
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user