mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 18:04:37 -04:00
Updates for check data
This commit is contained in:
parent
17f71c7c98
commit
86824138c9
@ -455,6 +455,7 @@ class CheckData extends Command
|
|||||||
if($contact && $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->count() != 0) {
|
if($contact && $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->count() != 0) {
|
||||||
$i = $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->first();
|
$i = $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->first();
|
||||||
$i->restore();
|
$i->restore();
|
||||||
|
$this->logMessage("Found a valid contact and invitation restoring for {$entity_key} - {$entity->id}");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$invitation = new $entity_obj();
|
$invitation = new $entity_obj();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user