mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Handle company logo not present failure
This commit is contained in:
parent
71b243bace
commit
c3f05d5c8c
@ -40,5 +40,13 @@ trait Uploadable
|
|||||||
$entity->save();
|
$entity->save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
/* Catch Failures */
|
||||||
|
$settings = $entity->settings;
|
||||||
|
$settings->company_logo = '';
|
||||||
|
$entity->settings = $settings;
|
||||||
|
$entity->save();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user